pub struct GetV2DraftParamsBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> GetV2DraftParamsBuilder<S>
impl<S: State> GetV2DraftParamsBuilder<S>
Sourcepub fn build(self) -> GetV2DraftParamswhere
S: IsComplete,
pub fn build(self) -> GetV2DraftParamswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn policy_type(
self,
value: PolicyTypeV2,
) -> GetV2DraftParamsBuilder<SetPolicyType<S>>where
S::PolicyType: IsUnset,
pub fn policy_type(
self,
value: PolicyTypeV2,
) -> GetV2DraftParamsBuilder<SetPolicyType<S>>where
S::PolicyType: IsUnset,
Required.
The policy type(s) to retrieve. Can be a single type or multiple types by repeating the parameter (e.g., ?policyType=TRANSFER&policyType=MINT).
Auto Trait Implementations§
impl<S> Freeze for GetV2DraftParamsBuilder<S>
impl<S> RefUnwindSafe for GetV2DraftParamsBuilder<S>
impl<S> Send for GetV2DraftParamsBuilder<S>
impl<S> Sync for GetV2DraftParamsBuilder<S>
impl<S> Unpin for GetV2DraftParamsBuilder<S>
impl<S> UnwindSafe for GetV2DraftParamsBuilder<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