pub struct RestrictedKey {}Fields§
§public_key: PublicKey§time_delay: i64§global: bool§update_contract: bool§transfer: bool§quash: bool§mint: bool§vote: bool§propose: bool§compliance: bool§expense_ratio: bool§revoke: bool§key_weight: u32Trait Implementations§
Source§impl Clone for RestrictedKey
impl Clone for RestrictedKey
Source§fn clone(&self) -> RestrictedKey
fn clone(&self) -> RestrictedKey
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 RestrictedKey
impl Debug for RestrictedKey
Source§impl Default for RestrictedKey
impl Default for RestrictedKey
Source§fn default() -> RestrictedKey
fn default() -> RestrictedKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RestrictedKey
impl<'de> Deserialize<'de> for RestrictedKey
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
Auto Trait Implementations§
impl Freeze for RestrictedKey
impl RefUnwindSafe for RestrictedKey
impl Send for RestrictedKey
impl Sync for RestrictedKey
impl Unpin for RestrictedKey
impl UnsafeUnpin for RestrictedKey
impl UnwindSafe for RestrictedKey
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