Struct nson::message::Message [−][src]
pub struct Message { /* fields omitted */ }
Implementations
pub fn insert_value_full(
&mut self,
key: impl Into<String>,
value: impl Into<Value>
) -> (usize, Option<Value>)
pub fn insert_full(
&mut self,
key: impl Into<String>,
value: impl Into<Value>
) -> (usize, Option<Value>)
pub fn sort_by<F>(&mut self, compare: F) where
F: FnMut(&String, &Value, &String, &Value) -> Ordering,
pub fn sorted_by<F>(self, compare: F) -> IntoIter<String, Value>ⓘ where
F: FnMut(&String, &Value, &String, &Value) -> Ordering,
Trait Implementations
Deserialize this value given this Deserializer
.
Auto Trait Implementations
impl RefUnwindSafe for Message
impl UnwindSafe for Message
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V