pub struct KeyedSegment {
pub key: String,
pub format: SessionFormat,
pub segment: ResidueSegment,
}Expand description
A segment ready to store: its chain key, its source format and its lines.
Fields§
§key: StringThe chain key of the segment’s message group.
format: SessionFormatThe format the lines are in.
segment: ResidueSegmentThe lines themselves.
Trait Implementations§
Source§impl Clone for KeyedSegment
impl Clone for KeyedSegment
Source§fn clone(&self) -> KeyedSegment
fn clone(&self) -> KeyedSegment
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 moreAuto Trait Implementations§
impl Freeze for KeyedSegment
impl RefUnwindSafe for KeyedSegment
impl Send for KeyedSegment
impl Sync for KeyedSegment
impl Unpin for KeyedSegment
impl UnsafeUnpin for KeyedSegment
impl UnwindSafe for KeyedSegment
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