pub struct Instance {
pub id: String,
pub hash: String,
pub name: String,
pub service_id: String,
pub service_type_code: String,
pub color: String,
pub machine_id: String,
pub status: InstanceStatus,
pub message: Option<String>,
pub cluster_id: Option<String>,
}Fields§
§id: String§hash: String§name: String§service_id: String§service_type_code: String§color: String§machine_id: String§status: InstanceStatus§message: Option<String>§cluster_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Instance
impl<'de> Deserialize<'de> for Instance
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 Partial for Instance
impl Partial for Instance
Source§type Item = PartialInstance
type Item = PartialInstance
The type of the partial structure, that may have
Some values.Source§fn apply_some(&mut self, partial: Self::Item) -> bool
fn apply_some(&mut self, partial: Self::Item) -> bool
Applies
Some values from Partial::Item to self, returning true when
updates were made, and false when nothing was applied. Read moreimpl StructuralPartialEq for Instance
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnsafeUnpin for Instance
impl UnwindSafe for Instance
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