Struct aws_sdk_deadline::types::WorkerSummary
source · #[non_exhaustive]pub struct WorkerSummary {
pub worker_id: String,
pub farm_id: String,
pub fleet_id: String,
pub status: WorkerStatus,
pub host_properties: Option<HostPropertiesResponse>,
pub log: Option<LogConfiguration>,
pub created_at: DateTime,
pub created_by: String,
pub updated_at: Option<DateTime>,
pub updated_by: Option<String>,
}Expand description
The summary of details for a worker.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.worker_id: StringThe worker ID.
farm_id: StringThe farm ID.
fleet_id: StringThe fleet ID.
status: WorkerStatusThe status of the worker.
host_properties: Option<HostPropertiesResponse>The host properties of the worker.
log: Option<LogConfiguration>The log configuration for the worker.
created_at: DateTimeThe date and time the resource was created.
created_by: StringThe user or system that created this resource.
updated_at: Option<DateTime>The date and time the resource was updated.
updated_by: Option<String>The user or system that updated this resource.
Implementations§
source§impl WorkerSummary
impl WorkerSummary
sourcepub fn status(&self) -> &WorkerStatus
pub fn status(&self) -> &WorkerStatus
The status of the worker.
sourcepub fn host_properties(&self) -> Option<&HostPropertiesResponse>
pub fn host_properties(&self) -> Option<&HostPropertiesResponse>
The host properties of the worker.
sourcepub fn log(&self) -> Option<&LogConfiguration>
pub fn log(&self) -> Option<&LogConfiguration>
The log configuration for the worker.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The date and time the resource was created.
sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
The user or system that created this resource.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time the resource was updated.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The user or system that updated this resource.
source§impl WorkerSummary
impl WorkerSummary
sourcepub fn builder() -> WorkerSummaryBuilder
pub fn builder() -> WorkerSummaryBuilder
Creates a new builder-style object to manufacture WorkerSummary.
Trait Implementations§
source§impl Clone for WorkerSummary
impl Clone for WorkerSummary
source§fn clone(&self) -> WorkerSummary
fn clone(&self) -> WorkerSummary
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 WorkerSummary
impl Debug for WorkerSummary
source§impl PartialEq for WorkerSummary
impl PartialEq for WorkerSummary
source§fn eq(&self, other: &WorkerSummary) -> bool
fn eq(&self, other: &WorkerSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for WorkerSummary
Auto Trait Implementations§
impl Freeze for WorkerSummary
impl RefUnwindSafe for WorkerSummary
impl Send for WorkerSummary
impl Sync for WorkerSummary
impl Unpin for WorkerSummary
impl UnwindSafe for WorkerSummary
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.