pub struct NodeEventBuilder { /* private fields */ }
Expand description
Builder for NodeEvent
.
Implementations§
Source§impl NodeEventBuilder
impl NodeEventBuilder
pub fn message(&mut self, value: String) -> &mut Self
pub fn subsystem(&mut self, value: String) -> &mut Self
pub fn details(&mut self, value: HashMap<String, String>) -> &mut Self
pub fn timestamp(&mut self, value: DateTime<Utc>) -> &mut Self
pub fn create_index(&mut self, value: u64) -> &mut Self
Trait Implementations§
Source§impl Clone for NodeEventBuilder
impl Clone for NodeEventBuilder
Source§fn clone(&self) -> NodeEventBuilder
fn clone(&self) -> NodeEventBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for NodeEventBuilder
impl RefUnwindSafe for NodeEventBuilder
impl Send for NodeEventBuilder
impl Sync for NodeEventBuilder
impl Unpin for NodeEventBuilder
impl UnwindSafe for NodeEventBuilder
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