Struct concordium_base::base::AccountThreshold
source · #[repr(transparent)]pub struct AccountThreshold { /* private fields */ }Expand description
The minimum number of credentials that need to sign any transaction coming from an associated account.
Trait Implementations§
source§impl Clone for AccountThreshold
impl Clone for AccountThreshold
source§fn clone(&self) -> AccountThreshold
fn clone(&self) -> AccountThreshold
Returns a copy 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 AccountThreshold
impl Debug for AccountThreshold
source§impl Deserial for AccountThreshold
impl Deserial for AccountThreshold
fn deserial<R: ReadBytesExt>(source: &mut R) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for AccountThreshold
impl<'de> Deserialize<'de> for AccountThreshold
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 From<AccountThreshold> for u8
impl From<AccountThreshold> for u8
source§fn from(original: AccountThreshold) -> Self
fn from(original: AccountThreshold) -> Self
Converts to this type from the input type.
source§impl Ord for AccountThreshold
impl Ord for AccountThreshold
source§fn cmp(&self, other: &AccountThreshold) -> Ordering
fn cmp(&self, other: &AccountThreshold) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AccountThreshold> for AccountThreshold
impl PartialEq<AccountThreshold> for AccountThreshold
source§fn eq(&self, other: &AccountThreshold) -> bool
fn eq(&self, other: &AccountThreshold) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<AccountThreshold> for AccountThreshold
impl PartialOrd<AccountThreshold> for AccountThreshold
source§fn partial_cmp(&self, other: &AccountThreshold) -> Option<Ordering>
fn partial_cmp(&self, other: &AccountThreshold) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serial for AccountThreshold
impl Serial for AccountThreshold
fn serial<GenericBufferType: Buffer>(&self, out: &mut GenericBufferType)
source§impl Serialize for AccountThreshold
impl Serialize for AccountThreshold
source§impl TryFrom<u8> for AccountThreshold
impl TryFrom<u8> for AccountThreshold
impl Copy for AccountThreshold
impl Eq for AccountThreshold
impl StructuralEq for AccountThreshold
impl StructuralPartialEq for AccountThreshold
Auto Trait Implementations§
impl RefUnwindSafe for AccountThreshold
impl Send for AccountThreshold
impl Sync for AccountThreshold
impl Unpin for AccountThreshold
impl UnwindSafe for AccountThreshold
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