#[non_exhaustive]pub struct CustomerAgreementBuilder { /* private fields */ }Expand description
A builder for CustomerAgreement.
Implementations§
source§impl CustomerAgreementBuilder
impl CustomerAgreementBuilder
sourcepub fn agreement_name(self, input: impl Into<String>) -> Self
pub fn agreement_name(self, input: impl Into<String>) -> Self
The name of the agreement.
sourcepub fn set_agreement_name(self, input: Option<String>) -> Self
pub fn set_agreement_name(self, input: Option<String>) -> Self
The name of the agreement.
sourcepub fn get_agreement_name(&self) -> &Option<String>
pub fn get_agreement_name(&self) -> &Option<String>
The name of the agreement.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the customer agreement. This will be either signed or unsigned
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the customer agreement. This will be either signed or unsigned
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the customer agreement. This will be either signed or unsigned
sourcepub fn build(self) -> CustomerAgreement
pub fn build(self) -> CustomerAgreement
Consumes the builder and constructs a CustomerAgreement.
Trait Implementations§
source§impl Clone for CustomerAgreementBuilder
impl Clone for CustomerAgreementBuilder
source§fn clone(&self) -> CustomerAgreementBuilder
fn clone(&self) -> CustomerAgreementBuilder
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 Debug for CustomerAgreementBuilder
impl Debug for CustomerAgreementBuilder
source§impl Default for CustomerAgreementBuilder
impl Default for CustomerAgreementBuilder
source§fn default() -> CustomerAgreementBuilder
fn default() -> CustomerAgreementBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CustomerAgreementBuilder
impl PartialEq for CustomerAgreementBuilder
source§fn eq(&self, other: &CustomerAgreementBuilder) -> bool
fn eq(&self, other: &CustomerAgreementBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomerAgreementBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CustomerAgreementBuilder
impl Send for CustomerAgreementBuilder
impl Sync for CustomerAgreementBuilder
impl Unpin for CustomerAgreementBuilder
impl UnwindSafe for CustomerAgreementBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.