pub struct GetActiveV2PolicyParams {
pub policy_type: PolicyTypeV2,
}Expand description
struct for passing parameters to the method
PolicyEditorV2BetaApi::get_active_v2_policy
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 GetActiveV2PolicyParams
impl GetActiveV2PolicyParams
Sourcepub fn builder() -> GetActiveV2PolicyParamsBuilder
pub fn builder() -> GetActiveV2PolicyParamsBuilder
Create an instance of GetActiveV2PolicyParams using the builder syntax
Trait Implementations§
Source§impl Clone for GetActiveV2PolicyParams
impl Clone for GetActiveV2PolicyParams
Source§fn clone(&self) -> GetActiveV2PolicyParams
fn clone(&self) -> GetActiveV2PolicyParams
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 GetActiveV2PolicyParams
impl RefUnwindSafe for GetActiveV2PolicyParams
impl Send for GetActiveV2PolicyParams
impl Sync for GetActiveV2PolicyParams
impl Unpin for GetActiveV2PolicyParams
impl UnwindSafe for GetActiveV2PolicyParams
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