pub struct AllocCheckStatus {
pub status: String,
pub status_code: i64,
pub id: String,
pub check: String,
pub group: String,
pub output: String,
pub task: String,
pub mode: String,
pub service: String,
pub timestamp: i64,
}
Expand description
AllocCheckStatus contains the current status of a nomad service discovery check.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§status: String
§status_code: i64
§id: String
§check: String
§group: String
§output: String
§task: String
§mode: String
§service: String
§timestamp: i64
Trait Implementations§
Source§impl Clone for AllocCheckStatus
impl Clone for AllocCheckStatus
Source§fn clone(&self) -> AllocCheckStatus
fn clone(&self) -> AllocCheckStatus
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 moreSource§impl Debug for AllocCheckStatus
impl Debug for AllocCheckStatus
Source§impl Default for AllocCheckStatus
impl Default for AllocCheckStatus
Source§fn default() -> AllocCheckStatus
fn default() -> AllocCheckStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllocCheckStatus
impl<'de> Deserialize<'de> for AllocCheckStatus
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
Source§impl PartialEq for AllocCheckStatus
impl PartialEq for AllocCheckStatus
Source§impl Serialize for AllocCheckStatus
impl Serialize for AllocCheckStatus
impl StructuralPartialEq for AllocCheckStatus
Auto Trait Implementations§
impl Freeze for AllocCheckStatus
impl RefUnwindSafe for AllocCheckStatus
impl Send for AllocCheckStatus
impl Sync for AllocCheckStatus
impl Unpin for AllocCheckStatus
impl UnwindSafe for AllocCheckStatus
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