pub enum AbiHeaderType {
Time,
Expire,
PublicKey,
}Expand description
Contract header value type.
Variants§
Time
Time header type. Serialized as uint64.
Expire
Expire header type. Serialized as uint32.
PublicKey
Public key type. Serialized as optional(uint256).
Trait Implementations§
Source§impl Clone for AbiHeaderType
impl Clone for AbiHeaderType
Source§fn clone(&self) -> AbiHeaderType
fn clone(&self) -> AbiHeaderType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AbiHeaderType
impl Debug for AbiHeaderType
Source§impl<'de> Deserialize<'de> for AbiHeaderType
impl<'de> Deserialize<'de> for AbiHeaderType
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 Display for AbiHeaderType
impl Display for AbiHeaderType
Source§impl FromStr for AbiHeaderType
impl FromStr for AbiHeaderType
Source§impl Hash for AbiHeaderType
impl Hash for AbiHeaderType
Source§impl PartialEq for AbiHeaderType
impl PartialEq for AbiHeaderType
Source§impl Serialize for AbiHeaderType
impl Serialize for AbiHeaderType
impl Copy for AbiHeaderType
impl Eq for AbiHeaderType
impl StructuralPartialEq for AbiHeaderType
Auto Trait Implementations§
impl Freeze for AbiHeaderType
impl RefUnwindSafe for AbiHeaderType
impl Send for AbiHeaderType
impl Sync for AbiHeaderType
impl Unpin for AbiHeaderType
impl UnwindSafe for AbiHeaderType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.