Struct aws_sdk_securityhub::types::builders::CityBuilder
source · #[non_exhaustive]pub struct CityBuilder { /* private fields */ }
Expand description
A builder for City
.
Implementations§
source§impl CityBuilder
impl CityBuilder
sourcepub fn set_city_name(self, input: Option<String>) -> Self
pub fn set_city_name(self, input: Option<String>) -> Self
The name of the city.
sourcepub fn get_city_name(&self) -> &Option<String>
pub fn get_city_name(&self) -> &Option<String>
The name of the city.
Trait Implementations§
source§impl Clone for CityBuilder
impl Clone for CityBuilder
source§fn clone(&self) -> CityBuilder
fn clone(&self) -> CityBuilder
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 CityBuilder
impl Debug for CityBuilder
source§impl Default for CityBuilder
impl Default for CityBuilder
source§fn default() -> CityBuilder
fn default() -> CityBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CityBuilder
impl PartialEq for CityBuilder
source§fn eq(&self, other: &CityBuilder) -> bool
fn eq(&self, other: &CityBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CityBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CityBuilder
impl Send for CityBuilder
impl Sync for CityBuilder
impl Unpin for CityBuilder
impl UnwindSafe for CityBuilder
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.