pub struct Map(/* private fields */);
Implementations§
Source§impl Map
impl Map
pub fn iter(&self) -> MapIterator
pub fn insert<K: AsRef<str>, V: Into<Value>>( &mut self, key: K, value: V, ) -> JwstCodecResult
pub fn keys(&self) -> Vec<String>
pub fn get<K: AsRef<str>>(&self, key: K) -> Option<Value>
pub fn remove<K: AsRef<str>>(&mut self, key: K) -> bool
pub fn contains_key<K: AsRef<str>>(&self, key: K) -> bool
pub fn len(&self) -> u64
pub fn is_empty(&self) -> bool
Trait Implementations§
impl Send for Map
impl Sync for Map
Auto Trait Implementations§
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