pub enum TrustTokenOperationType {
Issuance,
Redemption,
Signing,
}
Variants§
Issuance
Type “token-request” in the Trust Token API.
Redemption
Type “token-redemption” in the Trust Token API.
Signing
Type “send-redemption-record” in the Trust Token API.
Trait Implementations§
source§impl AsRef<str> for TrustTokenOperationType
impl AsRef<str> for TrustTokenOperationType
source§impl Clone for TrustTokenOperationType
impl Clone for TrustTokenOperationType
source§fn clone(&self) -> TrustTokenOperationType
fn clone(&self) -> TrustTokenOperationType
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 Debug for TrustTokenOperationType
impl Debug for TrustTokenOperationType
source§impl<'de> Deserialize<'de> for TrustTokenOperationType
impl<'de> Deserialize<'de> for TrustTokenOperationType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TrustTokenOperationType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TrustTokenOperationType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for TrustTokenOperationType
impl FromStr for TrustTokenOperationType
source§impl Hash for TrustTokenOperationType
impl Hash for TrustTokenOperationType
source§impl PartialEq for TrustTokenOperationType
impl PartialEq for TrustTokenOperationType
source§fn eq(&self, other: &TrustTokenOperationType) -> bool
fn eq(&self, other: &TrustTokenOperationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TrustTokenOperationType
impl Serialize for TrustTokenOperationType
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 Eq for TrustTokenOperationType
impl StructuralPartialEq for TrustTokenOperationType
Auto Trait Implementations§
impl Freeze for TrustTokenOperationType
impl RefUnwindSafe for TrustTokenOperationType
impl Send for TrustTokenOperationType
impl Sync for TrustTokenOperationType
impl Unpin for TrustTokenOperationType
impl UnwindSafe for TrustTokenOperationType
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