Struct RelayedEntry
#[non_exhaustive]pub struct RelayedEntry {
pub seq: u64,
pub kind: String,
pub cause: Option<u64>,
pub version: u32,
pub text: String,
}Expand description
An event as it crosses a process (Relay): its input as text.
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.seq: u64Its number in the journal it was read from.
kind: StringIts point’s id.
cause: Option<u64>The entry that caused it, in the journal it was read from.
version: u32Its point’s version on the sending side
(PointDecl::version): a receiver
that declares the point with another version refuses it
(IngestError::Version).
text: StringIts input, written by its point’s codec.
Implementations§
§impl RelayedEntry
impl RelayedEntry
Trait Implementations§
§impl Clone for RelayedEntry
impl Clone for RelayedEntry
§fn clone(&self) -> RelayedEntry
fn clone(&self) -> RelayedEntry
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 more§impl Debug for RelayedEntry
impl Debug for RelayedEntry
§impl PartialEq for RelayedEntry
impl PartialEq for RelayedEntry
impl Eq for RelayedEntry
impl StructuralPartialEq for RelayedEntry
Auto Trait Implementations§
impl Freeze for RelayedEntry
impl RefUnwindSafe for RelayedEntry
impl Send for RelayedEntry
impl Sync for RelayedEntry
impl Unpin for RelayedEntry
impl UnsafeUnpin for RelayedEntry
impl UnwindSafe for RelayedEntry
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