pub struct WriteMeta {
pub last_index: u64,
pub request_time: TimeDelta,
}
Expand description
WriteMeta is used to return meta data about a write
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§last_index: u64
LastIndex. This can be used as a WaitIndex to perform a blocking query
request_time: TimeDelta
How long did the request take
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WriteMeta
impl<'de> Deserialize<'de> for WriteMeta
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 WriteMeta
Auto Trait Implementations§
impl Freeze for WriteMeta
impl RefUnwindSafe for WriteMeta
impl Send for WriteMeta
impl Sync for WriteMeta
impl Unpin for WriteMeta
impl UnwindSafe for WriteMeta
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