Expand description
The system-wide asset type representation.
Tuple Fields§
§0: [u8; 32]Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for AssetType
impl<'de> Deserialize<'de> for AssetType
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 NoahFromToBytes for AssetType
impl NoahFromToBytes for AssetType
source§fn noah_to_bytes(&self) -> Vec<u8>
fn noah_to_bytes(&self) -> Vec<u8>
convert to bytes
source§fn noah_from_bytes(bytes: &[u8]) -> Result<Self>
fn noah_from_bytes(bytes: &[u8]) -> Result<Self>
reconstruct from bytes
source§impl Ord for AssetType
impl Ord for AssetType
source§impl PartialEq<AssetType> for AssetType
impl PartialEq<AssetType> for AssetType
source§impl PartialOrd<AssetType> for AssetType
impl PartialOrd<AssetType> for AssetType
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 moreimpl Copy for AssetType
impl Eq for AssetType
impl StructuralEq for AssetType
impl StructuralPartialEq for AssetType
Auto Trait Implementations§
impl RefUnwindSafe for AssetType
impl Send for AssetType
impl Sync for AssetType
impl Unpin for AssetType
impl UnwindSafe for AssetType
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more