#[non_exhaustive]pub struct ConsumptionConfigurationBuilder { /* private fields */ }Expand description
A builder for ConsumptionConfiguration.
Implementations§
source§impl ConsumptionConfigurationBuilder
impl ConsumptionConfigurationBuilder
sourcepub fn renew_type(self, input: RenewType) -> Self
pub fn renew_type(self, input: RenewType) -> Self
Renewal frequency.
sourcepub fn set_renew_type(self, input: Option<RenewType>) -> Self
pub fn set_renew_type(self, input: Option<RenewType>) -> Self
Renewal frequency.
sourcepub fn get_renew_type(&self) -> &Option<RenewType>
pub fn get_renew_type(&self) -> &Option<RenewType>
Renewal frequency.
sourcepub fn provisional_configuration(self, input: ProvisionalConfiguration) -> Self
pub fn provisional_configuration(self, input: ProvisionalConfiguration) -> Self
Details about a provisional configuration.
sourcepub fn set_provisional_configuration(
self,
input: Option<ProvisionalConfiguration>
) -> Self
pub fn set_provisional_configuration( self, input: Option<ProvisionalConfiguration> ) -> Self
Details about a provisional configuration.
sourcepub fn get_provisional_configuration(&self) -> &Option<ProvisionalConfiguration>
pub fn get_provisional_configuration(&self) -> &Option<ProvisionalConfiguration>
Details about a provisional configuration.
sourcepub fn borrow_configuration(self, input: BorrowConfiguration) -> Self
pub fn borrow_configuration(self, input: BorrowConfiguration) -> Self
Details about a borrow configuration.
sourcepub fn set_borrow_configuration(
self,
input: Option<BorrowConfiguration>
) -> Self
pub fn set_borrow_configuration( self, input: Option<BorrowConfiguration> ) -> Self
Details about a borrow configuration.
sourcepub fn get_borrow_configuration(&self) -> &Option<BorrowConfiguration>
pub fn get_borrow_configuration(&self) -> &Option<BorrowConfiguration>
Details about a borrow configuration.
sourcepub fn build(self) -> ConsumptionConfiguration
pub fn build(self) -> ConsumptionConfiguration
Consumes the builder and constructs a ConsumptionConfiguration.
Trait Implementations§
source§impl Clone for ConsumptionConfigurationBuilder
impl Clone for ConsumptionConfigurationBuilder
source§fn clone(&self) -> ConsumptionConfigurationBuilder
fn clone(&self) -> ConsumptionConfigurationBuilder
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 ConsumptionConfigurationBuilder
impl Default for ConsumptionConfigurationBuilder
source§fn default() -> ConsumptionConfigurationBuilder
fn default() -> ConsumptionConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ConsumptionConfigurationBuilder> for ConsumptionConfigurationBuilder
impl PartialEq<ConsumptionConfigurationBuilder> for ConsumptionConfigurationBuilder
source§fn eq(&self, other: &ConsumptionConfigurationBuilder) -> bool
fn eq(&self, other: &ConsumptionConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConsumptionConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ConsumptionConfigurationBuilder
impl Send for ConsumptionConfigurationBuilder
impl Sync for ConsumptionConfigurationBuilder
impl Unpin for ConsumptionConfigurationBuilder
impl UnwindSafe for ConsumptionConfigurationBuilder
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