Struct aws_sdk_iotroborunner::operation::get_site::GetSiteOutput
source · #[non_exhaustive]pub struct GetSiteOutput {
pub arn: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub country_code: Option<String>,
pub description: Option<String>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
/* 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.arn: Option<String>Site ARN.
id: Option<String>Filters access by the site’s identifier
name: Option<String>Human friendly name of the resource.
country_code: Option<String>A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
description: Option<String>A high-level description of the site.
created_at: Option<DateTime>Timestamp at which the resource was created.
updated_at: Option<DateTime>Timestamp at which the resource was last updated.
Implementations§
source§impl GetSiteOutput
impl GetSiteOutput
sourcepub fn country_code(&self) -> Option<&str>
pub fn country_code(&self) -> Option<&str>
A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A high-level description of the site.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
Timestamp at which the resource was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
Timestamp at which the resource was last updated.
source§impl GetSiteOutput
impl GetSiteOutput
sourcepub fn builder() -> GetSiteOutputBuilder
pub fn builder() -> GetSiteOutputBuilder
Creates a new builder-style object to manufacture GetSiteOutput.
Trait Implementations§
source§impl Clone for GetSiteOutput
impl Clone for GetSiteOutput
source§fn clone(&self) -> GetSiteOutput
fn clone(&self) -> GetSiteOutput
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 GetSiteOutput
impl Debug for GetSiteOutput
source§impl PartialEq<GetSiteOutput> for GetSiteOutput
impl PartialEq<GetSiteOutput> for GetSiteOutput
source§fn eq(&self, other: &GetSiteOutput) -> bool
fn eq(&self, other: &GetSiteOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for GetSiteOutput
impl RequestId for GetSiteOutput
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 GetSiteOutput
Auto Trait Implementations§
impl RefUnwindSafe for GetSiteOutput
impl Send for GetSiteOutput
impl Sync for GetSiteOutput
impl Unpin for GetSiteOutput
impl UnwindSafe for GetSiteOutput
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