pub struct Events {
pub err: String,
pub index: u64,
pub events: Vec<Event>,
}
Expand description
Events is a set of events for a corresponding index. Events returned for the index depend on which topics are subscribed to when a request is made.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§err: String
§index: u64
§events: Vec<Event>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Events
impl<'de> Deserialize<'de> for Events
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 Events
Auto Trait Implementations§
impl Freeze for Events
impl RefUnwindSafe for Events
impl Send for Events
impl Sync for Events
impl Unpin for Events
impl UnwindSafe for Events
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