pub struct NormalizedCapability {
pub id: String,
pub issuer_hex: String,
pub subject_hex: String,
pub scope: NormalizedScope,
pub issued_at: u64,
pub expires_at: u64,
}Expand description
Proof-facing capability token projection.
Fields§
§id: String§issuer_hex: String§subject_hex: String§scope: NormalizedScope§issued_at: u64§expires_at: u64Trait Implementations§
Source§impl Clone for NormalizedCapability
impl Clone for NormalizedCapability
Source§fn clone(&self) -> NormalizedCapability
fn clone(&self) -> NormalizedCapability
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 NormalizedCapability
impl Debug for NormalizedCapability
Source§impl<'de> Deserialize<'de> for NormalizedCapability
impl<'de> Deserialize<'de> for NormalizedCapability
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 PartialEq for NormalizedCapability
impl PartialEq for NormalizedCapability
Source§impl Serialize for NormalizedCapability
impl Serialize for NormalizedCapability
Source§impl TryFrom<&CapabilityToken> for NormalizedCapability
impl TryFrom<&CapabilityToken> for NormalizedCapability
Source§type Error = NormalizationError
type Error = NormalizationError
The type returned in the event of a conversion error.
impl Eq for NormalizedCapability
impl StructuralPartialEq for NormalizedCapability
Auto Trait Implementations§
impl Freeze for NormalizedCapability
impl RefUnwindSafe for NormalizedCapability
impl Send for NormalizedCapability
impl Sync for NormalizedCapability
impl Unpin for NormalizedCapability
impl UnsafeUnpin for NormalizedCapability
impl UnwindSafe for NormalizedCapability
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