#[repr(C)]pub enum SignatureTimestampType {
TLOG = 0,
TIMESTAMPAUTHORITY = 1,
}Expand description
SignatureTimestampType is the type of timestamp used in the signature.
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
Variants§
Trait Implementations§
Source§impl Clone for SignatureTimestampType
impl Clone for SignatureTimestampType
Source§fn clone(&self) -> SignatureTimestampType
fn clone(&self) -> SignatureTimestampType
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 SignatureTimestampType
impl Debug for SignatureTimestampType
Source§impl Default for SignatureTimestampType
impl Default for SignatureTimestampType
Source§fn default() -> SignatureTimestampType
fn default() -> SignatureTimestampType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignatureTimestampType
impl<'de> Deserialize<'de> for SignatureTimestampType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignatureTimestampType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignatureTimestampType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SignatureTimestampType
impl Display for SignatureTimestampType
Source§impl FromStr for SignatureTimestampType
impl FromStr for SignatureTimestampType
Source§impl Ord for SignatureTimestampType
impl Ord for SignatureTimestampType
Source§fn cmp(&self, other: &SignatureTimestampType) -> Ordering
fn cmp(&self, other: &SignatureTimestampType) -> 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 SignatureTimestampType
impl PartialEq for SignatureTimestampType
Source§impl PartialOrd for SignatureTimestampType
impl PartialOrd for SignatureTimestampType
Source§impl Serialize for SignatureTimestampType
impl Serialize for SignatureTimestampType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for SignatureTimestampType
impl Eq for SignatureTimestampType
impl StructuralPartialEq for SignatureTimestampType
Auto Trait Implementations§
impl Freeze for SignatureTimestampType
impl RefUnwindSafe for SignatureTimestampType
impl Send for SignatureTimestampType
impl Sync for SignatureTimestampType
impl Unpin for SignatureTimestampType
impl UnsafeUnpin for SignatureTimestampType
impl UnwindSafe for SignatureTimestampType
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