pub enum IdentitySignature {
Unsigned,
Valid,
Invalid,
}Expand description
What an identity payload’s signature says about its claims.
Variants§
Unsigned
No signature was attached; the claims are only as good as the frame that carried them.
Valid
The attached signature verifies against the node’s public key.
Invalid
The attached signature does not verify; the claims must not be trusted.
Trait Implementations§
Source§impl Clone for IdentitySignature
impl Clone for IdentitySignature
Source§fn clone(&self) -> IdentitySignature
fn clone(&self) -> IdentitySignature
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IdentitySignature
impl Debug for IdentitySignature
Source§impl PartialEq for IdentitySignature
impl PartialEq for IdentitySignature
impl Copy for IdentitySignature
impl Eq for IdentitySignature
impl StructuralPartialEq for IdentitySignature
Auto Trait Implementations§
impl Freeze for IdentitySignature
impl RefUnwindSafe for IdentitySignature
impl Send for IdentitySignature
impl Sync for IdentitySignature
impl Unpin for IdentitySignature
impl UnwindSafe for IdentitySignature
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)