#[repr(u8)]pub enum AccountIdValidityRulesVersion {
V0 = 0,
V1 = 1,
}
Variants§
V0 = 0
Skip account ID validation according to legacy rules.
V1 = 1
Limit receiver_id
in FunctionCallPermission
to be a valid account ID.
Implementations§
Trait Implementations§
source§impl Clone for AccountIdValidityRulesVersion
impl Clone for AccountIdValidityRulesVersion
source§fn clone(&self) -> AccountIdValidityRulesVersion
fn clone(&self) -> AccountIdValidityRulesVersion
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<'de> Deserialize<'de> for AccountIdValidityRulesVersion
impl<'de> Deserialize<'de> for AccountIdValidityRulesVersion
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 Hash for AccountIdValidityRulesVersion
impl Hash for AccountIdValidityRulesVersion
source§impl PartialEq for AccountIdValidityRulesVersion
impl PartialEq for AccountIdValidityRulesVersion
source§fn eq(&self, other: &AccountIdValidityRulesVersion) -> bool
fn eq(&self, other: &AccountIdValidityRulesVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AccountIdValidityRulesVersion
impl Eq for AccountIdValidityRulesVersion
impl StructuralEq for AccountIdValidityRulesVersion
impl StructuralPartialEq for AccountIdValidityRulesVersion
Auto Trait Implementations§
impl RefUnwindSafe for AccountIdValidityRulesVersion
impl Send for AccountIdValidityRulesVersion
impl Sync for AccountIdValidityRulesVersion
impl Unpin for AccountIdValidityRulesVersion
impl UnwindSafe for AccountIdValidityRulesVersion
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