pub enum SalukiValues {}Expand description
Selects the concrete types behind attribute values: text is a [MetaString], bytes are a Vec<u8>, arrays are a
Vec<AttributeValue>, and key/value lists are a KeyValueList.
It is only used as a type parameter, so it has no values.
Trait Implementations§
Source§impl Clone for SalukiValues
impl Clone for SalukiValues
Source§fn clone(&self) -> SalukiValues
fn clone(&self) -> SalukiValues
Returns a duplicate 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 SalukiValues
impl Debug for SalukiValues
Source§impl PartialEq for SalukiValues
impl PartialEq for SalukiValues
Source§impl ValueMap<SalukiValues> for KeyValueList
Key/value lists preserve decoded order and can contain duplicate keys; the last value wins.
impl ValueMap<SalukiValues> for KeyValueList
Key/value lists preserve decoded order and can contain duplicate keys; the last value wins.
Source§fn get(&self, key: &str) -> Option<&AttributeValue>
fn get(&self, key: &str) -> Option<&AttributeValue>
Get the value for a given key,
None if it is missingSource§fn iter<'a>(&'a self) -> impl Iterator<Item = (&'a str, &'a AttributeValue)>where
SalukiValues: 'a,
fn iter<'a>(&'a self) -> impl Iterator<Item = (&'a str, &'a AttributeValue)>where
SalukiValues: 'a,
Iterate over all
(key, value) pairs§fn contains_key(&self, key: &str) -> bool
fn contains_key(&self, key: &str) -> bool
Returns true if a value exists for
keyfn is_empty(&self) -> bool
Source§impl ValueMapMut<SalukiValues> for KeyValueList
impl ValueMapMut<SalukiValues> for KeyValueList
Source§fn get_mut(&mut self, key: &str) -> Option<&mut AttributeValue>
fn get_mut(&mut self, key: &str) -> Option<&mut AttributeValue>
Get a mutable reference to the value for a given key
Source§fn insert(
&mut self,
key: MetaString,
value: AttributeValue,
) -> Option<AttributeValue>
fn insert( &mut self, key: MetaString, value: AttributeValue, ) -> Option<AttributeValue>
Set the value for
key, returning the value it replaced, if anySource§fn remove(&mut self, key: &str) -> Option<AttributeValue>
fn remove(&mut self, key: &str) -> Option<AttributeValue>
Remove the value for
key, returning it if it was presentSource§fn retain(&mut self, f: impl FnMut(&str, &mut AttributeValue) -> bool)
fn retain(&mut self, f: impl FnMut(&str, &mut AttributeValue) -> bool)
Keep only the entries for which
f returns true; f may mutate the values it keeps.Source§fn iter_mut<'a>(
&'a mut self,
) -> impl Iterator<Item = (&'a str, &'a mut AttributeValue)>where
SalukiValues: 'a,
fn iter_mut<'a>(
&'a mut self,
) -> impl Iterator<Item = (&'a str, &'a mut AttributeValue)>where
SalukiValues: 'a,
Iterate mutably over all
(key, value) pairsSource§impl ValueTypes for SalukiValues
impl ValueTypes for SalukiValues
impl Copy for SalukiValues
impl Eq for SalukiValues
impl StructuralPartialEq for SalukiValues
Auto Trait Implementations§
impl Freeze for SalukiValues
impl RefUnwindSafe for SalukiValues
impl Send for SalukiValues
impl Sync for SalukiValues
impl Unpin for SalukiValues
impl UnsafeUnpin for SalukiValues
impl UnwindSafe for SalukiValues
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Track for T
impl<T> Track for T
§fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
Instruments this type by attaching the given resource group token, returning a
Tracked wrapper. Read more§fn in_current_resource_group(self) -> Tracked<Self>
fn in_current_resource_group(self) -> Tracked<Self>
Instruments this type by attaching the current resource group, returning a
Tracked wrapper. Read more