pub struct CompactedSection {
pub range: TurnRange,
pub messages: Vec<AgentMessage>,
}Expand description
A range of turns plus the compacted replacement messages for that range.
Fields§
§range: TurnRangeThe turn range this section replaces.
messages: Vec<AgentMessage>Replacement messages loaded into context instead of the originals.
Trait Implementations§
Source§impl Clone for CompactedSection
impl Clone for CompactedSection
Source§fn clone(&self) -> CompactedSection
fn clone(&self) -> CompactedSection
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 CompactedSection
impl Debug for CompactedSection
Source§impl<'de> Deserialize<'de> for CompactedSection
impl<'de> Deserialize<'de> for CompactedSection
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 CompactedSection
impl PartialEq for CompactedSection
Source§fn eq(&self, other: &CompactedSection) -> bool
fn eq(&self, other: &CompactedSection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompactedSection
impl Serialize for CompactedSection
impl StructuralPartialEq for CompactedSection
Auto Trait Implementations§
impl Freeze for CompactedSection
impl RefUnwindSafe for CompactedSection
impl Send for CompactedSection
impl Sync for CompactedSection
impl Unpin for CompactedSection
impl UnsafeUnpin for CompactedSection
impl UnwindSafe for CompactedSection
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