pub struct AddRepoV0 {
pub read_cap: ReadCap,
pub metadata: Vec<u8>,
}
Expand description
Adds a repo into the store branch.
The repo’s store
field should match the destination store
DEPS to the previous AddRepo 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 AddRepoV0
impl<'de> Deserialize<'de> for AddRepoV0
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 AddRepoV0
impl StructuralPartialEq for AddRepoV0
Auto Trait Implementations§
impl Freeze for AddRepoV0
impl RefUnwindSafe for AddRepoV0
impl Send for AddRepoV0
impl Sync for AddRepoV0
impl Unpin for AddRepoV0
impl UnwindSafe for AddRepoV0
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