Struct aws_sdk_drs::types::SourceCloudProperties
source · #[non_exhaustive]pub struct SourceCloudProperties {
pub origin_account_id: Option<String>,
pub origin_region: Option<String>,
pub origin_availability_zone: Option<String>,
}Expand description
Properties of the cloud environment where this Source Server originated from.
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.origin_account_id: Option<String>AWS Account ID for an EC2-originated Source Server.
origin_region: Option<String>AWS Region for an EC2-originated Source Server.
origin_availability_zone: Option<String>AWS Availability Zone for an EC2-originated Source Server.
Implementations§
source§impl SourceCloudProperties
impl SourceCloudProperties
sourcepub fn origin_account_id(&self) -> Option<&str>
pub fn origin_account_id(&self) -> Option<&str>
AWS Account ID for an EC2-originated Source Server.
sourcepub fn origin_region(&self) -> Option<&str>
pub fn origin_region(&self) -> Option<&str>
AWS Region for an EC2-originated Source Server.
sourcepub fn origin_availability_zone(&self) -> Option<&str>
pub fn origin_availability_zone(&self) -> Option<&str>
AWS Availability Zone for an EC2-originated Source Server.
source§impl SourceCloudProperties
impl SourceCloudProperties
sourcepub fn builder() -> SourceCloudPropertiesBuilder
pub fn builder() -> SourceCloudPropertiesBuilder
Creates a new builder-style object to manufacture SourceCloudProperties.
Trait Implementations§
source§impl Clone for SourceCloudProperties
impl Clone for SourceCloudProperties
source§fn clone(&self) -> SourceCloudProperties
fn clone(&self) -> SourceCloudProperties
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 SourceCloudProperties
impl Debug for SourceCloudProperties
source§impl PartialEq for SourceCloudProperties
impl PartialEq for SourceCloudProperties
source§fn eq(&self, other: &SourceCloudProperties) -> bool
fn eq(&self, other: &SourceCloudProperties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SourceCloudProperties
Auto Trait Implementations§
impl RefUnwindSafe for SourceCloudProperties
impl Send for SourceCloudProperties
impl Sync for SourceCloudProperties
impl Unpin for SourceCloudProperties
impl UnwindSafe for SourceCloudProperties
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.