pub struct BoltMap {
pub value: HashMap<BoltString, BoltType>,
}
Fields§
§value: HashMap<BoltString, BoltType>
Implementations§
source§impl BoltMap
impl BoltMap
pub fn new() -> Self
pub fn with_capacity(capacity: usize) -> Self
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn put(&mut self, key: BoltString, value: BoltType)
pub fn get<'this, T>(&'this self, key: &str) -> Result<T, DeError>where
T: Deserialize<'this>,
Self: Sized,
Trait Implementations§
source§impl<'de> Deserialize<'de> for BoltMap
impl<'de> Deserialize<'de> for BoltMap
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromIterator<(BoltString, BoltType)> for BoltMap
impl FromIterator<(BoltString, BoltType)> for BoltMap
source§impl PartialEq for BoltMap
impl PartialEq for BoltMap
impl StructuralPartialEq for BoltMap
Auto Trait Implementations§
impl RefUnwindSafe for BoltMap
impl Send for BoltMap
impl Sync for BoltMap
impl Unpin for BoltMap
impl UnwindSafe for BoltMap
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