Struct JsonProperties
pub struct JsonProperties(pub Box<Map<String, Value>>);Available on crate feature
lazy only.Expand description
A JSON object, equal to another only with the same keys in the same order: of two aliases, the later one wins.
Serialized as JSON text: bincode can’t read a serde_json::Value, and a plan sent between
processes may go through bincode.
Tuple Fields§
§0: Box<Map<String, Value>>Trait Implementations§
§impl Clone for JsonProperties
impl Clone for JsonProperties
§fn clone(&self) -> JsonProperties
fn clone(&self) -> JsonProperties
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for JsonProperties
impl Debug for JsonProperties
§impl Default for JsonProperties
impl Default for JsonProperties
§fn default() -> JsonProperties
fn default() -> JsonProperties
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for JsonProperties
Available on crate feature serde only.
impl<'de> Deserialize<'de> for JsonProperties
Available on crate feature
serde only.§fn deserialize<D>(
deserializer: D,
) -> Result<JsonProperties, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<JsonProperties, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for JsonProperties
§impl Hash for JsonProperties
impl Hash for JsonProperties
§impl PartialEq for JsonProperties
impl PartialEq for JsonProperties
§impl Serialize for JsonProperties
Available on crate feature serde only.
impl Serialize for JsonProperties
Available on crate feature
serde only.§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for JsonProperties
impl RefUnwindSafe for JsonProperties
impl Send for JsonProperties
impl Sync for JsonProperties
impl Unpin for JsonProperties
impl UnsafeUnpin for JsonProperties
impl UnwindSafe for JsonProperties
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more