Skip to main content

AnchorMaterial

Struct AnchorMaterial 

Source
pub struct AnchorMaterial<N, D, G, P> { /* private fields */ }
Expand description

Direct credential anchor’s distinct certificate-material obligation.

Implementations§

Source§

impl<N: Copy, D, G, P> AnchorMaterial<N, D, G, P>

Source

pub fn participant(&self) -> Participant<N>

Original authenticated credential using this direct anchor.

Source

pub fn certificate(&self) -> Option<&Archived<N, D, G, P>>

Existing anchor certificate’s actual archive availability. None means this explicit anchor has no certificate, not an unsuccessful lookup.

Auto Trait Implementations§

§

impl<N, D, G, P> Freeze for AnchorMaterial<N, D, G, P>
where Participant<N>: Freeze, Option<Archived<N, D, G, P>>: Freeze,

§

impl<N, D, G, P> RefUnwindSafe for AnchorMaterial<N, D, G, P>

§

impl<N, D, G, P> Send for AnchorMaterial<N, D, G, P>
where Participant<N>: Send, Option<Archived<N, D, G, P>>: Send,

§

impl<N, D, G, P> Sync for AnchorMaterial<N, D, G, P>
where Participant<N>: Sync, Option<Archived<N, D, G, P>>: Sync,

§

impl<N, D, G, P> Unpin for AnchorMaterial<N, D, G, P>
where Participant<N>: Unpin, Option<Archived<N, D, G, P>>: Unpin,

§

impl<N, D, G, P> UnsafeUnpin for AnchorMaterial<N, D, G, P>

§

impl<N, D, G, P> UnwindSafe for AnchorMaterial<N, D, G, P>
where Participant<N>: UnwindSafe, Option<Archived<N, D, G, P>>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.