pub enum MutationKind {
Register,
UpdateEndpoint,
Refresh,
Deregister,
}Expand description
The operation a proof authorizes.
The kind is part of the signed payload, so a proof for one operation cannot be presented as authorization for another. Without this, a captured refresh would double as a deregistration.
Variants§
Register
Creating the record.
UpdateEndpoint
Replacing the record’s endpoints.
Refresh
Extending the record’s lifetime.
Deregister
Removing the record.
Implementations§
Trait Implementations§
Source§impl Clone for MutationKind
impl Clone for MutationKind
impl Copy for MutationKind
Source§impl Debug for MutationKind
impl Debug for MutationKind
Source§impl Display for MutationKind
impl Display for MutationKind
impl Eq for MutationKind
Source§impl Hash for MutationKind
impl Hash for MutationKind
Source§impl PartialEq for MutationKind
impl PartialEq for MutationKind
impl StructuralPartialEq for MutationKind
Auto Trait Implementations§
impl Freeze for MutationKind
impl RefUnwindSafe for MutationKind
impl Send for MutationKind
impl Sync for MutationKind
impl Unpin for MutationKind
impl UnsafeUnpin for MutationKind
impl UnwindSafe for MutationKind
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