pub struct CompactResponse {
pub receipt: ContextCompactionReceiptV1,
pub allocation_plan: ContextAllocationPlanV1,
pub compacted_messages: Vec<Message>,
pub exact_store: Vec<ExactStoredItemV1>,
}Fields§
§receipt: ContextCompactionReceiptV1§allocation_plan: ContextAllocationPlanV1§compacted_messages: Vec<Message>§exact_store: Vec<ExactStoredItemV1>Trait Implementations§
Source§impl Clone for CompactResponse
impl Clone for CompactResponse
Source§fn clone(&self) -> CompactResponse
fn clone(&self) -> CompactResponse
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 CompactResponse
impl Debug for CompactResponse
Source§impl<'de> Deserialize<'de> for CompactResponse
impl<'de> Deserialize<'de> for CompactResponse
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 CompactResponse
Source§impl PartialEq for CompactResponse
impl PartialEq for CompactResponse
Source§fn eq(&self, other: &CompactResponse) -> bool
fn eq(&self, other: &CompactResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompactResponse
impl Serialize for CompactResponse
impl StructuralPartialEq for CompactResponse
Auto Trait Implementations§
impl Freeze for CompactResponse
impl RefUnwindSafe for CompactResponse
impl Send for CompactResponse
impl Sync for CompactResponse
impl Unpin for CompactResponse
impl UnsafeUnpin for CompactResponse
impl UnwindSafe for CompactResponse
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