pub struct Message {
pub id: String,
pub index: String,
pub timestamp: Option<SystemTime>,
pub fields: Map<String, Value>,
}Expand description
One search hit or stored message.
Fields§
§id: StringMessage id (_id); with index it identifies the message for
GraylogClient::get_message.
index: StringIndex that stores the message.
timestamp: Option<SystemTime>Message timestamp.
fields: Map<String, Value>Every returned field as JSON.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Forget for Message
impl Freeze for Message
impl Move for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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