Struct aws_sdk_outposts::model::Address
source · [−]#[non_exhaustive]pub struct Address {
pub contact_name: Option<String>,
pub contact_phone_number: Option<String>,
pub address_line1: Option<String>,
pub address_line2: Option<String>,
pub address_line3: Option<String>,
pub city: Option<String>,
pub state_or_region: Option<String>,
pub district_or_county: Option<String>,
pub postal_code: Option<String>,
pub country_code: Option<String>,
pub municipality: Option<String>,
}
Expand description
Information about an address.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.contact_name: Option<String>
The name of the contact.
contact_phone_number: Option<String>
The phone number of the contact.
address_line1: Option<String>
The first line of the address.
address_line2: Option<String>
The second line of the address.
address_line3: Option<String>
The third line of the address.
city: Option<String>
The city for the address.
state_or_region: Option<String>
The state for the address.
district_or_county: Option<String>
The district or county for the address.
postal_code: Option<String>
The postal code for the address.
country_code: Option<String>
The ISO-3166 two-letter country code for the address.
municipality: Option<String>
The municipality for the address.
Implementations
sourceimpl Address
impl Address
sourcepub fn contact_name(&self) -> Option<&str>
pub fn contact_name(&self) -> Option<&str>
The name of the contact.
sourcepub fn contact_phone_number(&self) -> Option<&str>
pub fn contact_phone_number(&self) -> Option<&str>
The phone number of the contact.
sourcepub fn address_line1(&self) -> Option<&str>
pub fn address_line1(&self) -> Option<&str>
The first line of the address.
sourcepub fn address_line2(&self) -> Option<&str>
pub fn address_line2(&self) -> Option<&str>
The second line of the address.
sourcepub fn address_line3(&self) -> Option<&str>
pub fn address_line3(&self) -> Option<&str>
The third line of the address.
sourcepub fn state_or_region(&self) -> Option<&str>
pub fn state_or_region(&self) -> Option<&str>
The state for the address.
sourcepub fn district_or_county(&self) -> Option<&str>
pub fn district_or_county(&self) -> Option<&str>
The district or county for the address.
sourcepub fn postal_code(&self) -> Option<&str>
pub fn postal_code(&self) -> Option<&str>
The postal code for the address.
sourcepub fn country_code(&self) -> Option<&str>
pub fn country_code(&self) -> Option<&str>
The ISO-3166 two-letter country code for the address.
sourcepub fn municipality(&self) -> Option<&str>
pub fn municipality(&self) -> Option<&str>
The municipality for the address.
Trait Implementations
impl StructuralPartialEq for Address
Auto Trait Implementations
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more