pub struct ObjectData {
pub id: ObjectId,
pub obj_type: ObjectType,
pub data: Vec<u8>,
pub is_delta: bool,
}Fields§
§id: ObjectId§obj_type: ObjectType§data: Vec<u8>§is_delta: boolTrait Implementations§
Source§impl Clone for ObjectData
impl Clone for ObjectData
Source§fn clone(&self) -> ObjectData
fn clone(&self) -> ObjectData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObjectData
impl Debug for ObjectData
Source§impl<'de> Deserialize<'de> for ObjectData
impl<'de> Deserialize<'de> for ObjectData
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
Auto Trait Implementations§
impl Freeze for ObjectData
impl RefUnwindSafe for ObjectData
impl Send for ObjectData
impl Sync for ObjectData
impl Unpin for ObjectData
impl UnsafeUnpin for ObjectData
impl UnwindSafe for ObjectData
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