pub struct AssetConfigV2 {
pub nft_transfer: bool,
pub asset_types: Option<Vec<AssetTypesConfigV2Inner>>,
pub operator: Option<PolicyOperatorV2>,
}Expand description
AssetConfigV2 : Policy asset configuration
Fields§
§nft_transfer: boolWhether this is an NFT transfer
asset_types: Option<Vec<AssetTypesConfigV2Inner>>List of asset types
operator: Option<PolicyOperatorV2>Implementations§
Source§impl AssetConfigV2
impl AssetConfigV2
Sourcepub fn new(nft_transfer: bool) -> AssetConfigV2
pub fn new(nft_transfer: bool) -> AssetConfigV2
Policy asset configuration
Trait Implementations§
Source§impl Clone for AssetConfigV2
impl Clone for AssetConfigV2
Source§fn clone(&self) -> AssetConfigV2
fn clone(&self) -> AssetConfigV2
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 moreSource§impl Debug for AssetConfigV2
impl Debug for AssetConfigV2
Source§impl Default for AssetConfigV2
impl Default for AssetConfigV2
Source§fn default() -> AssetConfigV2
fn default() -> AssetConfigV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssetConfigV2
impl<'de> Deserialize<'de> for AssetConfigV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AssetConfigV2
impl PartialEq for AssetConfigV2
Source§impl Serialize for AssetConfigV2
impl Serialize for AssetConfigV2
impl StructuralPartialEq for AssetConfigV2
Auto Trait Implementations§
impl Freeze for AssetConfigV2
impl RefUnwindSafe for AssetConfigV2
impl Send for AssetConfigV2
impl Sync for AssetConfigV2
impl Unpin for AssetConfigV2
impl UnwindSafe for AssetConfigV2
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