pub struct AddLinkV0 {
pub read_cap: ReadCap,
pub metadata: Vec<u8>,
}
Expand description
Adds a link into the user branch, so that a user can share with all its device a new Link they received.
The repo’s store
field should not match with any store of the user. Only external repos are accepted here.
DEPS to the previous AddLink commit(s) if it is an update. in this case, repo_id of the referenced rootbranch definition(s) should match
Fields§
§read_cap: ReadCap
§metadata: Vec<u8>
Metadata
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddLinkV0
impl<'de> Deserialize<'de> for AddLinkV0
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
impl Eq for AddLinkV0
impl StructuralPartialEq for AddLinkV0
Auto Trait Implementations§
impl Freeze for AddLinkV0
impl RefUnwindSafe for AddLinkV0
impl Send for AddLinkV0
impl Sync for AddLinkV0
impl Unpin for AddLinkV0
impl UnwindSafe for AddLinkV0
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