pub struct SmallFileV0 {
pub content_type: String,
pub metadata: Vec<u8>,
pub content: Vec<u8>,
}
Expand description
File Object
Fields§
§content_type: String
§metadata: Vec<u8>
§content: Vec<u8>
Trait Implementations§
Source§impl Clone for SmallFileV0
impl Clone for SmallFileV0
Source§fn clone(&self) -> SmallFileV0
fn clone(&self) -> SmallFileV0
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 SmallFileV0
impl Debug for SmallFileV0
Source§impl<'de> Deserialize<'de> for SmallFileV0
impl<'de> Deserialize<'de> for SmallFileV0
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 SmallFileV0
impl PartialEq for SmallFileV0
Source§impl ReadFile for SmallFileV0
impl ReadFile for SmallFileV0
Source§impl Serialize for SmallFileV0
impl Serialize for SmallFileV0
impl Eq for SmallFileV0
impl StructuralPartialEq for SmallFileV0
Auto Trait Implementations§
impl Freeze for SmallFileV0
impl RefUnwindSafe for SmallFileV0
impl Send for SmallFileV0
impl Sync for SmallFileV0
impl Unpin for SmallFileV0
impl UnwindSafe for SmallFileV0
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