pub enum ProofPurpose {
Assertion,
Authentication,
CapabilityInvocation,
CapabilityDelegation,
KeyAgreement,
}
Expand description
Proof purposes.
Variants§
Implementations§
Trait Implementations§
source§impl BitAnd<ProofPurpose> for ProofPurposes
impl BitAnd<ProofPurpose> for ProofPurposes
§type Output = ProofPurposes
type Output = ProofPurposes
The resulting type after applying the
&
operator.source§fn bitand(self, other: ProofPurpose) -> Self
fn bitand(self, other: ProofPurpose) -> Self
Performs the
&
operation. Read moresource§impl BitAndAssign<ProofPurpose> for ProofPurposes
impl BitAndAssign<ProofPurpose> for ProofPurposes
source§fn bitand_assign(&mut self, other: ProofPurpose)
fn bitand_assign(&mut self, other: ProofPurpose)
Performs the
&=
operation. Read moresource§impl BitOr<ProofPurpose> for ProofPurposes
impl BitOr<ProofPurpose> for ProofPurposes
§type Output = ProofPurposes
type Output = ProofPurposes
The resulting type after applying the
|
operator.source§fn bitor(self, other: ProofPurpose) -> Self
fn bitor(self, other: ProofPurpose) -> Self
Performs the
|
operation. Read moresource§impl BitOr for ProofPurpose
impl BitOr for ProofPurpose
§type Output = ProofPurposes
type Output = ProofPurposes
The resulting type after applying the
|
operator.source§fn bitor(self, other: Self) -> ProofPurposes
fn bitor(self, other: Self) -> ProofPurposes
Performs the
|
operation. Read moresource§impl BitOrAssign<ProofPurpose> for ProofPurposes
impl BitOrAssign<ProofPurpose> for ProofPurposes
source§fn bitor_assign(&mut self, other: ProofPurpose)
fn bitor_assign(&mut self, other: ProofPurpose)
Performs the
|=
operation. Read moresource§impl Clone for ProofPurpose
impl Clone for ProofPurpose
source§fn clone(&self) -> ProofPurpose
fn clone(&self) -> ProofPurpose
Returns a copy 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 ProofPurpose
impl Debug for ProofPurpose
source§impl Default for ProofPurpose
impl Default for ProofPurpose
source§fn default() -> ProofPurpose
fn default() -> ProofPurpose
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProofPurpose
impl<'de> Deserialize<'de> for ProofPurpose
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 Display for ProofPurpose
impl Display for ProofPurpose
source§impl From<ProofPurpose> for ProofPurposes
impl From<ProofPurpose> for ProofPurposes
source§fn from(p: ProofPurpose) -> Self
fn from(p: ProofPurpose) -> Self
Converts to this type from the input type.
source§impl Hash for ProofPurpose
impl Hash for ProofPurpose
source§impl<I_, V_> LinkedData<I_, V_> for ProofPurpose
impl<I_, V_> LinkedData<I_, V_> for ProofPurpose
source§impl<I_, V_> LinkedDataDeserializePredicateObjects<I_, V_> for ProofPurposewhere
I_: Interpretation + IriInterpretation<V_::Iri> + ReverseIriInterpretation<Iri = V_::Iri>,
V_: Vocabulary,
impl<I_, V_> LinkedDataDeserializePredicateObjects<I_, V_> for ProofPurposewhere
I_: Interpretation + IriInterpretation<V_::Iri> + ReverseIriInterpretation<Iri = V_::Iri>,
V_: Vocabulary,
fn deserialize_objects_in<'de_, D_>( vocabulary: &V_, interpretation: &I_, dataset: &D_, graph: Option<&I_::Resource>, objects: impl IntoIterator<Item = &'de_ I_::Resource>, context: Context<'_, I_>, ) -> Result<Self, FromLinkedDataError>
fn deserialize_objects<'a, D>(
vocabulary: &V,
interpretation: &I,
dataset: &D,
graph: Option<&<I as Interpretation>::Resource>,
objects: impl IntoIterator<Item = &'a <I as Interpretation>::Resource>,
) -> Result<Self, FromLinkedDataError>where
<I as Interpretation>::Resource: 'a,
D: PatternMatchingDataset<Resource = <I as Interpretation>::Resource>,
source§impl<I_, V_> LinkedDataDeserializeSubject<I_, V_> for ProofPurposewhere
I_: Interpretation + IriInterpretation<V_::Iri> + ReverseIriInterpretation<Iri = V_::Iri>,
V_: Vocabulary,
impl<I_, V_> LinkedDataDeserializeSubject<I_, V_> for ProofPurposewhere
I_: Interpretation + IriInterpretation<V_::Iri> + ReverseIriInterpretation<Iri = V_::Iri>,
V_: Vocabulary,
fn deserialize_subject_in<D_>(
vocabulary_: &V_,
interpretation_: &I_,
dataset_: &D_,
graph_: Option<&I_::Resource>,
resource_: &I_::Resource,
outer_context_: Context<'_, I_>,
) -> Result<Self, FromLinkedDataError>where
D_: PatternMatchingDataset<Resource = I_::Resource>,
fn deserialize_subject<D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&<I as Interpretation>::Resource>, resource: &<I as Interpretation>::Resource, ) -> Result<Self, FromLinkedDataError>
source§impl<I_, V_> LinkedDataGraph<I_, V_> for ProofPurpose
impl<I_, V_> LinkedDataGraph<I_, V_> for ProofPurpose
fn visit_graph<S_>(&self, visitor: S_) -> Result<S_::Ok, S_::Error>where
S_: GraphVisitor<I_, V_>,
source§impl<I_, V_> LinkedDataPredicateObjects<I_, V_> for ProofPurpose
impl<I_, V_> LinkedDataPredicateObjects<I_, V_> for ProofPurpose
fn visit_objects<S_>(&self, visitor: S_) -> Result<S_::Ok, S_::Error>where
S_: PredicateObjectsVisitor<I_, V_>,
source§impl<I_, V_> LinkedDataResource<I_, V_> for ProofPurpose
impl<I_, V_> LinkedDataResource<I_, V_> for ProofPurpose
fn interpretation( &self, vocabulary: &mut V_, interpretation: &mut I_, ) -> ResourceInterpretation<'_, I_, V_>
fn reference_interpretation( &self, vocabulary: &mut V, interpretation: &mut I, ) -> ResourceInterpretation<'_, I, V>
source§impl<I_, V_> LinkedDataSubject<I_, V_> for ProofPurpose
impl<I_, V_> LinkedDataSubject<I_, V_> for ProofPurpose
fn visit_subject<S_>(&self, visitor: S_) -> Result<S_::Ok, S_::Error>where
S_: SubjectVisitor<I_, V_>,
source§impl Ord for ProofPurpose
impl Ord for ProofPurpose
source§fn cmp(&self, other: &ProofPurpose) -> Ordering
fn cmp(&self, other: &ProofPurpose) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ProofPurpose
impl PartialEq for ProofPurpose
source§fn eq(&self, other: &ProofPurpose) -> bool
fn eq(&self, other: &ProofPurpose) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProofPurpose
impl PartialOrd for ProofPurpose
source§fn partial_cmp(&self, other: &ProofPurpose) -> Option<Ordering>
fn partial_cmp(&self, other: &ProofPurpose) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ProofPurpose
impl Serialize for ProofPurpose
source§impl TryFrom<IriBuf> for ProofPurpose
impl TryFrom<IriBuf> for ProofPurpose
impl Copy for ProofPurpose
impl Eq for ProofPurpose
impl StructuralPartialEq for ProofPurpose
Auto Trait Implementations§
impl Freeze for ProofPurpose
impl RefUnwindSafe for ProofPurpose
impl Send for ProofPurpose
impl Sync for ProofPurpose
impl Unpin for ProofPurpose
impl UnwindSafe for ProofPurpose
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
source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
source§impl<T> CallHasher for T
impl<T> CallHasher for T
source§impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
fn deserialize_typed<S>(
_: &C,
deserializer: S,
) -> Result<T, <S as Deserializer<'de>>::Error>where
S: Deserializer<'de>,
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
fn equivalent(&self, key: &K) -> bool
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
source§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more
source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T
.