Struct aws_runtime::env_config::property::Properties
source · pub struct Properties { /* private fields */ }
Expand description
A map of PropertiesKey
s to property values.
Implementations§
source§impl Properties
impl Properties
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new empty Properties
.
sourcepub fn insert(&mut self, properties_key: PropertiesKey, value: String)
pub fn insert(&mut self, properties_key: PropertiesKey, value: String)
Insert a new key/value pair into this map.
sourcepub fn get(&self, properties_key: &PropertiesKey) -> Option<&String>
pub fn get(&self, properties_key: &PropertiesKey) -> Option<&String>
Given a PropertiesKey
, return the corresponding value, if any.
Trait Implementations§
source§impl Clone for Properties
impl Clone for Properties
source§fn clone(&self) -> Properties
fn clone(&self) -> Properties
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 Properties
impl Debug for Properties
source§impl Default for Properties
impl Default for Properties
source§fn default() -> Properties
fn default() -> Properties
Returns the “default value” for a type. Read more
source§impl PartialEq for Properties
impl PartialEq for Properties
impl Eq for Properties
impl StructuralPartialEq for Properties
Auto Trait Implementations§
impl Freeze for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.