pub struct DeltaResponse {
pub delta: Vec<DeltaOp>,
pub size_bytes: usize,
pub compression_ratio: f32,
}Expand description
Response containing computed delta
Fields§
§delta: Vec<DeltaOp>The computed delta operations
size_bytes: usizeSize of the delta in bytes
compression_ratio: f32Compression ratio (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for DeltaResponse
impl Clone for DeltaResponse
Source§fn clone(&self) -> DeltaResponse
fn clone(&self) -> DeltaResponse
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 DeltaResponse
impl Debug for DeltaResponse
Source§impl<'de> Deserialize<'de> for DeltaResponse
impl<'de> Deserialize<'de> for DeltaResponse
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 DeltaResponse
impl PartialEq for DeltaResponse
Source§impl Serialize for DeltaResponse
impl Serialize for DeltaResponse
impl StructuralPartialEq for DeltaResponse
Auto Trait Implementations§
impl Freeze for DeltaResponse
impl RefUnwindSafe for DeltaResponse
impl Send for DeltaResponse
impl Sync for DeltaResponse
impl Unpin for DeltaResponse
impl UnsafeUnpin for DeltaResponse
impl UnwindSafe for DeltaResponse
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