pub struct WorkerMetadata {Show 13 fields
pub worker_id: WorkerId,
pub args: Vec<String>,
pub env: HashMap<String, String>,
pub status: WorkerStatus,
pub component_version: u64,
pub retry_count: u64,
pub pending_invocation_count: u64,
pub updates: Vec<UpdateRecord>,
pub created_at: DateTime<Utc>,
pub last_error: Option<String>,
pub component_size: u64,
pub total_linear_memory_size: u64,
pub owned_resources: HashMap<String, ResourceMetadata>,
}
Fields§
§worker_id: WorkerId
§args: Vec<String>
§env: HashMap<String, String>
§status: WorkerStatus
§component_version: u64
§retry_count: u64
§pending_invocation_count: u64
§updates: Vec<UpdateRecord>
§created_at: DateTime<Utc>
§last_error: Option<String>
§component_size: u64
§total_linear_memory_size: u64
§owned_resources: HashMap<String, ResourceMetadata>
Trait Implementations§
source§impl Clone for WorkerMetadata
impl Clone for WorkerMetadata
source§fn clone(&self) -> WorkerMetadata
fn clone(&self) -> WorkerMetadata
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 WorkerMetadata
impl Debug for WorkerMetadata
source§impl<'de> Deserialize<'de> for WorkerMetadata
impl<'de> Deserialize<'de> for WorkerMetadata
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 WorkerMetadata
impl PartialEq for WorkerMetadata
source§impl Serialize for WorkerMetadata
impl Serialize for WorkerMetadata
impl Eq for WorkerMetadata
impl StructuralPartialEq for WorkerMetadata
Auto Trait Implementations§
impl Freeze for WorkerMetadata
impl RefUnwindSafe for WorkerMetadata
impl Send for WorkerMetadata
impl Sync for WorkerMetadata
impl Unpin for WorkerMetadata
impl UnwindSafe for WorkerMetadata
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.