pub enum AttestedBy {
SelfAttested,
}Expand description
Attestation provenance for a claim.
v1 ships only self. The enum is open for future provenance categories
without breaking the wire format.
Variants§
SelfAttested
User-supplied, signed by the user’s M5 device key as part of the outer JWT signature. MATA never witnessed this value.
Trait Implementations§
Source§impl Clone for AttestedBy
impl Clone for AttestedBy
Source§fn clone(&self) -> AttestedBy
fn clone(&self) -> AttestedBy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AttestedBy
Source§impl Debug for AttestedBy
impl Debug for AttestedBy
Source§impl<'de> Deserialize<'de> for AttestedBy
impl<'de> Deserialize<'de> for AttestedBy
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttestedBy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttestedBy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AttestedBy
Source§impl PartialEq for AttestedBy
impl PartialEq for AttestedBy
Source§impl Serialize for AttestedBy
impl Serialize for AttestedBy
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 StructuralPartialEq for AttestedBy
Auto Trait Implementations§
impl Freeze for AttestedBy
impl RefUnwindSafe for AttestedBy
impl Send for AttestedBy
impl Sync for AttestedBy
impl Unpin for AttestedBy
impl UnsafeUnpin for AttestedBy
impl UnwindSafe for AttestedBy
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