Struct golem_client::model::InstanceMetadata
source · pub struct InstanceMetadata {
pub worker_id: ComponentInstanceId,
pub account_id: String,
pub args: Vec<String>,
pub env: HashMap<String, String>,
pub status: InstanceStatus,
pub template_version: i32,
pub retry_count: i32,
}
Fields§
§worker_id: ComponentInstanceId
§account_id: String
§args: Vec<String>
§env: HashMap<String, String>
§status: InstanceStatus
§template_version: i32
§retry_count: i32
Trait Implementations§
source§impl Clone for InstanceMetadata
impl Clone for InstanceMetadata
source§fn clone(&self) -> InstanceMetadata
fn clone(&self) -> InstanceMetadata
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 InstanceMetadata
impl Debug for InstanceMetadata
source§impl<'de> Deserialize<'de> for InstanceMetadata
impl<'de> Deserialize<'de> for InstanceMetadata
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<InstanceMetadata> for InstanceMetadata
impl PartialEq<InstanceMetadata> for InstanceMetadata
source§fn eq(&self, other: &InstanceMetadata) -> bool
fn eq(&self, other: &InstanceMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InstanceMetadata
impl Serialize for InstanceMetadata
impl Eq for InstanceMetadata
impl StructuralEq for InstanceMetadata
impl StructuralPartialEq for InstanceMetadata
Auto Trait Implementations§
impl RefUnwindSafe for InstanceMetadata
impl Send for InstanceMetadata
impl Sync for InstanceMetadata
impl Unpin for InstanceMetadata
impl UnwindSafe for InstanceMetadata
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.