pub struct DeltaHeader {
pub num_deleted_items: i32,
pub num_updated_items: i32,
}Fields§
§num_deleted_items: i32§num_updated_items: i32Implementations§
Source§impl DeltaHeader
impl DeltaHeader
pub fn decode<W: Warn<Warning>>( warn: &mut W, p: &mut Unpacker<'_>, ) -> Result<DeltaHeader, Error>
pub fn decode_obj<W: Warn<Warning>>( warn: &mut W, p: &mut IntUnpacker<'_>, ) -> Result<DeltaHeader, Error>
pub fn encode<'d, 's>( &self, p: Packer<'d, 's>, ) -> Result<&'d [u8], CapacityError>
pub fn encode_obj(&self) -> [i32; 3]
Trait Implementations§
Source§impl Clone for DeltaHeader
impl Clone for DeltaHeader
Source§fn clone(&self) -> DeltaHeader
fn clone(&self) -> DeltaHeader
Returns a duplicate 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 DeltaHeader
impl Debug for DeltaHeader
impl Copy for DeltaHeader
Auto Trait Implementations§
impl Freeze for DeltaHeader
impl RefUnwindSafe for DeltaHeader
impl Send for DeltaHeader
impl Sync for DeltaHeader
impl Unpin for DeltaHeader
impl UnsafeUnpin for DeltaHeader
impl UnwindSafe for DeltaHeader
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