pub struct AddFileV0 {
pub name: Option<String>,
pub metadata: Vec<u8>,
}
Expand description
Add a new binary file in a branch
FILES: the file ObjectRef
Fields§
§name: Option<String>
an optional name. does not conflict (not unique across the branch nor repo)
metadata: Vec<u8>
Metadata
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddFileV0
impl<'de> Deserialize<'de> for AddFileV0
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 AddFileV0
impl StructuralPartialEq for AddFileV0
Auto Trait Implementations§
impl Freeze for AddFileV0
impl RefUnwindSafe for AddFileV0
impl Send for AddFileV0
impl Sync for AddFileV0
impl Unpin for AddFileV0
impl UnwindSafe for AddFileV0
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