pub struct NodeEvent {
pub subsystem: String,
pub details: HashMap<String, String>,
pub timestamp: DateTime<Utc>,
pub create_index: u64,
pub message: String,
}
Expand description
NodeEvent is a single unit representing a node’s state change
This struct was generated based on the Go types of the official Nomad API.
Fields§
§subsystem: String
§details: HashMap<String, String>
§timestamp: DateTime<Utc>
§create_index: u64
§message: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeEvent
impl<'de> Deserialize<'de> for NodeEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for NodeEvent
Auto Trait Implementations§
impl Freeze for NodeEvent
impl RefUnwindSafe for NodeEvent
impl Send for NodeEvent
impl Sync for NodeEvent
impl Unpin for NodeEvent
impl UnwindSafe for NodeEvent
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