pub struct TokenV4Token {
pub keyset_id: ShortKeysetId,
pub proofs: Vec<ProofV4>,
}
Expand description
Token V4 Token
Fields§
§keyset_id: ShortKeysetId
Keyset id
proofs: Vec<ProofV4>
Proofs
Implementations§
Source§impl TokenV4Token
impl TokenV4Token
Sourcepub fn new(keyset_id: Id, proofs: Vec<Proof>) -> TokenV4Token
pub fn new(keyset_id: Id, proofs: Vec<Proof>) -> TokenV4Token
Create new TokenV4Token
Trait Implementations§
Source§impl Clone for TokenV4Token
impl Clone for TokenV4Token
Source§fn clone(&self) -> TokenV4Token
fn clone(&self) -> TokenV4Token
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 TokenV4Token
impl Debug for TokenV4Token
Source§impl<'de> Deserialize<'de> for TokenV4Token
impl<'de> Deserialize<'de> for TokenV4Token
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TokenV4Token, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TokenV4Token, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TokenV4Token
impl PartialEq for TokenV4Token
Source§impl Serialize for TokenV4Token
impl Serialize for TokenV4Token
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 TokenV4Token
impl StructuralPartialEq for TokenV4Token
Auto Trait Implementations§
impl Freeze for TokenV4Token
impl RefUnwindSafe for TokenV4Token
impl Send for TokenV4Token
impl Sync for TokenV4Token
impl Unpin for TokenV4Token
impl UnwindSafe for TokenV4Token
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