#[repr(u8)]pub enum AssetProtection {
VALUE0 = 0,
VALUE1 = 1,
VALUE2 = 2,
VALUE3 = 3,
}Variants§
VALUE0 = 0
ELS asset is protected
VALUE1 = 1
ELS asset is not protected
VALUE2 = 2
ELS asset is protected
VALUE3 = 3
ELS asset is protected
Implementations§
Trait Implementations§
Source§impl Clone for AssetProtection
impl Clone for AssetProtection
Source§fn clone(&self) -> AssetProtection
fn clone(&self) -> AssetProtection
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 AssetProtection
impl Debug for AssetProtection
Source§impl From<AssetProtection> for u8
impl From<AssetProtection> for u8
Source§fn from(val: AssetProtection) -> u8
fn from(val: AssetProtection) -> u8
Converts to this type from the input type.
Source§impl From<u8> for AssetProtection
impl From<u8> for AssetProtection
Source§fn from(val: u8) -> AssetProtection
fn from(val: u8) -> AssetProtection
Converts to this type from the input type.
Source§impl Ord for AssetProtection
impl Ord for AssetProtection
Source§fn cmp(&self, other: &AssetProtection) -> Ordering
fn cmp(&self, other: &AssetProtection) -> 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 for AssetProtection
impl PartialEq for AssetProtection
Source§impl PartialOrd for AssetProtection
impl PartialOrd for AssetProtection
impl Copy for AssetProtection
impl Eq for AssetProtection
impl StructuralPartialEq for AssetProtection
Auto Trait Implementations§
impl Freeze for AssetProtection
impl RefUnwindSafe for AssetProtection
impl Send for AssetProtection
impl Sync for AssetProtection
impl Unpin for AssetProtection
impl UnwindSafe for AssetProtection
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