pub enum TokenStructure {
Base,
Delegated {
depth: usize,
},
ServiceChain {
nodes: usize,
},
MultiParty {
parties: usize,
},
TimeAttenuated,
Complex,
}Expand description
The structural pattern of the token
Variants§
Base
Base token with no additional blocks (authority only)
Delegated
Token with delegation blocks (identity tokens)
ServiceChain
Token with service chain attestations
MultiParty
Token with multi-party attestations
TimeAttenuated
Token with JIT time attenuation/restriction
Complex
Token with multiple types of blocks
Trait Implementations§
Source§impl Clone for TokenStructure
impl Clone for TokenStructure
Source§fn clone(&self) -> TokenStructure
fn clone(&self) -> TokenStructure
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 TokenStructure
impl Debug for TokenStructure
Source§impl Display for TokenStructure
impl Display for TokenStructure
Source§impl PartialEq for TokenStructure
impl PartialEq for TokenStructure
impl Eq for TokenStructure
impl StructuralPartialEq for TokenStructure
Auto Trait Implementations§
impl Freeze for TokenStructure
impl RefUnwindSafe for TokenStructure
impl Send for TokenStructure
impl Sync for TokenStructure
impl Unpin for TokenStructure
impl UnwindSafe for TokenStructure
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