#[non_exhaustive]pub struct KeyLine {
pub key: String,
pub snapshot: Option<Setting>,
pub events: Vec<Event>,
pub reads: Reads,
}Expand description
A key line (record.md §5).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key: StringThe key.
snapshot: Option<Setting>The first snapshot’s setting for the key, or None when absent.
events: Vec<Event>Later stream events for the key, in arrival order.
reads: ReadsThe getter reads.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyLine
impl RefUnwindSafe for KeyLine
impl Send for KeyLine
impl Sync for KeyLine
impl Unpin for KeyLine
impl UnsafeUnpin for KeyLine
impl UnwindSafe for KeyLine
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