pub struct GetV2DraftParams {
pub policy_type: PolicyTypeV2,
}Expand description
struct for passing parameters to the method
PolicyEditorV2BetaApi::get_v2_draft
Fields§
§policy_type: PolicyTypeV2The policy type(s) to retrieve. Can be a single type or multiple types by repeating the parameter (e.g., ?policyType=TRANSFER&policyType=MINT).
Implementations§
Source§impl GetV2DraftParams
impl GetV2DraftParams
Sourcepub fn builder() -> GetV2DraftParamsBuilder
pub fn builder() -> GetV2DraftParamsBuilder
Create an instance of GetV2DraftParams using the builder syntax
Trait Implementations§
Source§impl Clone for GetV2DraftParams
impl Clone for GetV2DraftParams
Source§fn clone(&self) -> GetV2DraftParams
fn clone(&self) -> GetV2DraftParams
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for GetV2DraftParams
impl RefUnwindSafe for GetV2DraftParams
impl Send for GetV2DraftParams
impl Sync for GetV2DraftParams
impl Unpin for GetV2DraftParams
impl UnwindSafe for GetV2DraftParams
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