Struct aws_sdk_deadline::operation::get_farm::GetFarmOutput
source · #[non_exhaustive]pub struct GetFarmOutput {
pub farm_id: String,
pub display_name: String,
pub description: Option<String>,
pub kms_key_arn: String,
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.farm_id: StringThe farm ID of the farm to get.
display_name: StringThe display name of the farm.
description: Option<String>The description of the farm.
kms_key_arn: StringThe ARN of the KMS key used on the farm.
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 GetFarmOutput
impl GetFarmOutput
sourcepub fn display_name(&self) -> &str
pub fn display_name(&self) -> &str
The display name of the farm.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the farm.
sourcepub fn kms_key_arn(&self) -> &str
pub fn kms_key_arn(&self) -> &str
The ARN of the KMS key used on the farm.
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 GetFarmOutput
impl GetFarmOutput
sourcepub fn builder() -> GetFarmOutputBuilder
pub fn builder() -> GetFarmOutputBuilder
Creates a new builder-style object to manufacture GetFarmOutput.
Trait Implementations§
source§impl Clone for GetFarmOutput
impl Clone for GetFarmOutput
source§fn clone(&self) -> GetFarmOutput
fn clone(&self) -> GetFarmOutput
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 GetFarmOutput
impl Debug for GetFarmOutput
source§impl PartialEq for GetFarmOutput
impl PartialEq for GetFarmOutput
source§fn eq(&self, other: &GetFarmOutput) -> bool
fn eq(&self, other: &GetFarmOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for GetFarmOutput
impl RequestId for GetFarmOutput
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 GetFarmOutput
Auto Trait Implementations§
impl Freeze for GetFarmOutput
impl RefUnwindSafe for GetFarmOutput
impl Send for GetFarmOutput
impl Sync for GetFarmOutput
impl Unpin for GetFarmOutput
impl UnwindSafe for GetFarmOutput
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.