#[non_exhaustive]pub struct RequestPaymentConfigurationBuilder { /* private fields */ }
Expand description
A builder for RequestPaymentConfiguration
.
Implementations§
source§impl RequestPaymentConfigurationBuilder
impl RequestPaymentConfigurationBuilder
sourcepub fn set_payer(self, input: Option<Payer>) -> Self
pub fn set_payer(self, input: Option<Payer>) -> Self
Specifies who pays for the download and request fees.
sourcepub fn get_payer(&self) -> &Option<Payer>
pub fn get_payer(&self) -> &Option<Payer>
Specifies who pays for the download and request fees.
sourcepub fn build(self) -> RequestPaymentConfiguration
pub fn build(self) -> RequestPaymentConfiguration
Consumes the builder and constructs a RequestPaymentConfiguration
.
Trait Implementations§
source§impl Clone for RequestPaymentConfigurationBuilder
impl Clone for RequestPaymentConfigurationBuilder
source§fn clone(&self) -> RequestPaymentConfigurationBuilder
fn clone(&self) -> RequestPaymentConfigurationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for RequestPaymentConfigurationBuilder
impl Default for RequestPaymentConfigurationBuilder
source§fn default() -> RequestPaymentConfigurationBuilder
fn default() -> RequestPaymentConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RequestPaymentConfigurationBuilder> for RequestPaymentConfigurationBuilder
impl PartialEq<RequestPaymentConfigurationBuilder> for RequestPaymentConfigurationBuilder
source§fn eq(&self, other: &RequestPaymentConfigurationBuilder) -> bool
fn eq(&self, other: &RequestPaymentConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RequestPaymentConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RequestPaymentConfigurationBuilder
impl Send for RequestPaymentConfigurationBuilder
impl Sync for RequestPaymentConfigurationBuilder
impl Unpin for RequestPaymentConfigurationBuilder
impl UnwindSafe for RequestPaymentConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more