pub struct GetContractTemplatesParamsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> GetContractTemplatesParamsBuilder<S>
impl<S: State> GetContractTemplatesParamsBuilder<S>
Sourcepub fn build(self) -> GetContractTemplatesParamswhere
S: IsComplete,
pub fn build(self) -> GetContractTemplatesParamswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn limit(self, value: f64) -> GetContractTemplatesParamsBuilder<SetLimit<S>>where
S::Limit: IsUnset,
pub fn limit(self, value: f64) -> GetContractTemplatesParamsBuilder<SetLimit<S>>where
S::Limit: IsUnset,
Sourcepub fn maybe_limit(
self,
value: Option<f64>,
) -> GetContractTemplatesParamsBuilder<SetLimit<S>>where
S::Limit: IsUnset,
pub fn maybe_limit(
self,
value: Option<f64>,
) -> GetContractTemplatesParamsBuilder<SetLimit<S>>where
S::Limit: IsUnset,
Sourcepub fn offset(
self,
value: f64,
) -> GetContractTemplatesParamsBuilder<SetOffset<S>>where
S::Offset: IsUnset,
pub fn offset(
self,
value: f64,
) -> GetContractTemplatesParamsBuilder<SetOffset<S>>where
S::Offset: IsUnset,
Sourcepub fn maybe_offset(
self,
value: Option<f64>,
) -> GetContractTemplatesParamsBuilder<SetOffset<S>>where
S::Offset: IsUnset,
pub fn maybe_offset(
self,
value: Option<f64>,
) -> GetContractTemplatesParamsBuilder<SetOffset<S>>where
S::Offset: IsUnset,
Sourcepub fn page_cursor(
self,
value: String,
) -> GetContractTemplatesParamsBuilder<SetPageCursor<S>>where
S::PageCursor: IsUnset,
pub fn page_cursor(
self,
value: String,
) -> GetContractTemplatesParamsBuilder<SetPageCursor<S>>where
S::PageCursor: IsUnset,
Sourcepub fn maybe_page_cursor(
self,
value: Option<String>,
) -> GetContractTemplatesParamsBuilder<SetPageCursor<S>>where
S::PageCursor: IsUnset,
pub fn maybe_page_cursor(
self,
value: Option<String>,
) -> GetContractTemplatesParamsBuilder<SetPageCursor<S>>where
S::PageCursor: IsUnset,
Sourcepub fn page_size(
self,
value: f64,
) -> GetContractTemplatesParamsBuilder<SetPageSize<S>>where
S::PageSize: IsUnset,
pub fn page_size(
self,
value: f64,
) -> GetContractTemplatesParamsBuilder<SetPageSize<S>>where
S::PageSize: IsUnset,
Sourcepub fn maybe_page_size(
self,
value: Option<f64>,
) -> GetContractTemplatesParamsBuilder<SetPageSize<S>>where
S::PageSize: IsUnset,
pub fn maybe_page_size(
self,
value: Option<f64>,
) -> GetContractTemplatesParamsBuilder<SetPageSize<S>>where
S::PageSize: IsUnset,
Sourcepub fn type(
self,
value: String,
) -> GetContractTemplatesParamsBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn type(
self,
value: String,
) -> GetContractTemplatesParamsBuilder<SetType<S>>where
S::Type: IsUnset,
Sourcepub fn maybe_type(
self,
value: Option<String>,
) -> GetContractTemplatesParamsBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn maybe_type(
self,
value: Option<String>,
) -> GetContractTemplatesParamsBuilder<SetType<S>>where
S::Type: IsUnset,
Sourcepub fn initialization_phase(
self,
value: String,
) -> GetContractTemplatesParamsBuilder<SetInitializationPhase<S>>where
S::InitializationPhase: IsUnset,
pub fn initialization_phase(
self,
value: String,
) -> GetContractTemplatesParamsBuilder<SetInitializationPhase<S>>where
S::InitializationPhase: IsUnset,
Sourcepub fn maybe_initialization_phase(
self,
value: Option<String>,
) -> GetContractTemplatesParamsBuilder<SetInitializationPhase<S>>where
S::InitializationPhase: IsUnset,
pub fn maybe_initialization_phase(
self,
value: Option<String>,
) -> GetContractTemplatesParamsBuilder<SetInitializationPhase<S>>where
S::InitializationPhase: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for GetContractTemplatesParamsBuilder<S>
impl<S> RefUnwindSafe for GetContractTemplatesParamsBuilder<S>
impl<S> Send for GetContractTemplatesParamsBuilder<S>
impl<S> Sync for GetContractTemplatesParamsBuilder<S>
impl<S> Unpin for GetContractTemplatesParamsBuilder<S>
impl<S> UnwindSafe for GetContractTemplatesParamsBuilder<S>
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