pub struct Map(/* private fields */);Implementations§
Source§impl Map
impl Map
pub fn id(&self) -> Option<Id>
pub fn insert<V: Into<Value>>( &mut self, key: String, value: V, ) -> JwstCodecResult
pub fn get(&self, key: &str) -> Option<Value>
pub fn contains_key(&self, key: &str) -> bool
pub fn remove(&mut self, key: &str)
pub fn len(&self) -> u64
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> EntriesIterator<'_>
pub fn entries(&self) -> EntriesIterator<'_>
pub fn keys(&self) -> KeysIterator<'_>
pub fn values(&self) -> ValuesIterator<'_>
Trait Implementations§
impl Send for Map
impl StructuralPartialEq for Map
impl Sync for Map
Auto Trait Implementations§
impl !RefUnwindSafe for Map
impl !UnwindSafe for Map
impl Freeze for Map
impl Unpin for Map
impl UnsafeUnpin for Map
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