pub struct AddSignerCapV0 {
pub cap: SignerCap,
pub metadata: Vec<u8>,
}
Expand description
Adds a SignerCap into the user branch,
so that a user can share with all its device a new signing capability that was just created.
The cap’s epoch
field should be dereferenced and the user must be part of the quorum/owners.
DEPS to the previous AddSignerCap commit(s) if it is an update. in this case, repo_ids have to match,
and the referenced rootbranch definition(s) should have compatible causal past (the newer AddSignerCap must have a newer epoch compared to the one of the replaced cap )
Fields§
§cap: SignerCap
§metadata: Vec<u8>
Metadata
Trait Implementations§
Source§impl Clone for AddSignerCapV0
impl Clone for AddSignerCapV0
Source§fn clone(&self) -> AddSignerCapV0
fn clone(&self) -> AddSignerCapV0
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 AddSignerCapV0
impl Debug for AddSignerCapV0
Source§impl<'de> Deserialize<'de> for AddSignerCapV0
impl<'de> Deserialize<'de> for AddSignerCapV0
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 PartialEq for AddSignerCapV0
impl PartialEq for AddSignerCapV0
Source§impl Serialize for AddSignerCapV0
impl Serialize for AddSignerCapV0
impl Eq for AddSignerCapV0
impl StructuralPartialEq for AddSignerCapV0
Auto Trait Implementations§
impl Freeze for AddSignerCapV0
impl RefUnwindSafe for AddSignerCapV0
impl Send for AddSignerCapV0
impl Sync for AddSignerCapV0
impl Unpin for AddSignerCapV0
impl UnwindSafe for AddSignerCapV0
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