pub struct PlatformVaultSpendingLimit {
pub asset_id: String,
pub maximum_per_execution_atoms: Option<String>,
}Expand description
One asset-specific execution limit. A null maximum means that the session is permitted to use the asset without a per-execution amount ceiling.
Fields§
§asset_id: String§maximum_per_execution_atoms: Option<String>Trait Implementations§
Source§impl Clone for PlatformVaultSpendingLimit
impl Clone for PlatformVaultSpendingLimit
Source§fn clone(&self) -> PlatformVaultSpendingLimit
fn clone(&self) -> PlatformVaultSpendingLimit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlatformVaultSpendingLimit
impl Debug for PlatformVaultSpendingLimit
Source§impl<'de> Deserialize<'de> for PlatformVaultSpendingLimit
impl<'de> Deserialize<'de> for PlatformVaultSpendingLimit
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultSpendingLimit, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultSpendingLimit, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformVaultSpendingLimit
Source§impl Serialize for PlatformVaultSpendingLimit
impl Serialize for PlatformVaultSpendingLimit
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PlatformVaultSpendingLimit
Auto Trait Implementations§
impl Freeze for PlatformVaultSpendingLimit
impl RefUnwindSafe for PlatformVaultSpendingLimit
impl Send for PlatformVaultSpendingLimit
impl Sync for PlatformVaultSpendingLimit
impl Unpin for PlatformVaultSpendingLimit
impl UnsafeUnpin for PlatformVaultSpendingLimit
impl UnwindSafe for PlatformVaultSpendingLimit
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