Struct aws_sdk_deadline::operation::get_worker::GetWorkerOutput
source · #[non_exhaustive]pub struct GetWorkerOutput {
pub worker_id: String,
pub farm_id: String,
pub fleet_id: String,
pub host_properties: Option<HostPropertiesResponse>,
pub status: WorkerStatus,
pub log: Option<LogConfiguration>,
pub created_at: DateTime,
pub created_by: String,
pub updated_at: Option<DateTime>,
pub updated_by: Option<String>,
/* private fields */
}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.
host_properties: Option<HostPropertiesResponse>The host properties for the worker.
status: WorkerStatusThe status of the worker.
log: Option<LogConfiguration>The logs for the associated 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 GetWorkerOutput
impl GetWorkerOutput
sourcepub fn host_properties(&self) -> Option<&HostPropertiesResponse>
pub fn host_properties(&self) -> Option<&HostPropertiesResponse>
The host properties for the worker.
sourcepub fn status(&self) -> &WorkerStatus
pub fn status(&self) -> &WorkerStatus
The status of the worker.
sourcepub fn log(&self) -> Option<&LogConfiguration>
pub fn log(&self) -> Option<&LogConfiguration>
The logs for the associated 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 GetWorkerOutput
impl GetWorkerOutput
sourcepub fn builder() -> GetWorkerOutputBuilder
pub fn builder() -> GetWorkerOutputBuilder
Creates a new builder-style object to manufacture GetWorkerOutput.
Trait Implementations§
source§impl Clone for GetWorkerOutput
impl Clone for GetWorkerOutput
source§fn clone(&self) -> GetWorkerOutput
fn clone(&self) -> GetWorkerOutput
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 GetWorkerOutput
impl Debug for GetWorkerOutput
source§impl PartialEq for GetWorkerOutput
impl PartialEq for GetWorkerOutput
source§fn eq(&self, other: &GetWorkerOutput) -> bool
fn eq(&self, other: &GetWorkerOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for GetWorkerOutput
impl RequestId for GetWorkerOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for GetWorkerOutput
Auto Trait Implementations§
impl Freeze for GetWorkerOutput
impl RefUnwindSafe for GetWorkerOutput
impl Send for GetWorkerOutput
impl Sync for GetWorkerOutput
impl Unpin for GetWorkerOutput
impl UnwindSafe for GetWorkerOutput
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.