pub enum LocalValue {
RemoteReference(RemoteReference),
PrimitiveProtocolValue(PrimitiveProtocolValue),
ChannelValue(ChannelValue),
ArrayLocalValue(ArrayLocalValue),
DateLocalValue(DateLocalValue),
MapLocalValue(MapLocalValue),
ObjectLocalValue(ObjectLocalValue),
RegExpLocalValue(RegExpLocalValue),
SetLocalValue(SetLocalValue),
}Variants§
RemoteReference(RemoteReference)
PrimitiveProtocolValue(PrimitiveProtocolValue)
ChannelValue(ChannelValue)
ArrayLocalValue(ArrayLocalValue)
DateLocalValue(DateLocalValue)
MapLocalValue(MapLocalValue)
ObjectLocalValue(ObjectLocalValue)
RegExpLocalValue(RegExpLocalValue)
SetLocalValue(SetLocalValue)
Trait Implementations§
Source§impl Clone for LocalValue
impl Clone for LocalValue
Source§fn clone(&self) -> LocalValue
fn clone(&self) -> LocalValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalValue
impl Debug for LocalValue
Source§impl<'de> Deserialize<'de> for LocalValue
impl<'de> Deserialize<'de> for LocalValue
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 From<ArrayLocalValue> for LocalValue
impl From<ArrayLocalValue> for LocalValue
Source§fn from(v: ArrayLocalValue) -> Self
fn from(v: ArrayLocalValue) -> Self
Converts to this type from the input type.
Source§impl From<ChannelValue> for LocalValue
impl From<ChannelValue> for LocalValue
Source§fn from(v: ChannelValue) -> Self
fn from(v: ChannelValue) -> Self
Converts to this type from the input type.
Source§impl From<DateLocalValue> for LocalValue
impl From<DateLocalValue> for LocalValue
Source§fn from(v: DateLocalValue) -> Self
fn from(v: DateLocalValue) -> Self
Converts to this type from the input type.
Source§impl From<MapLocalValue> for LocalValue
impl From<MapLocalValue> for LocalValue
Source§fn from(v: MapLocalValue) -> Self
fn from(v: MapLocalValue) -> Self
Converts to this type from the input type.
Source§impl From<ObjectLocalValue> for LocalValue
impl From<ObjectLocalValue> for LocalValue
Source§fn from(v: ObjectLocalValue) -> Self
fn from(v: ObjectLocalValue) -> Self
Converts to this type from the input type.
Source§impl From<PrimitiveProtocolValue> for LocalValue
impl From<PrimitiveProtocolValue> for LocalValue
Source§fn from(v: PrimitiveProtocolValue) -> Self
fn from(v: PrimitiveProtocolValue) -> Self
Converts to this type from the input type.
Source§impl From<RegExpLocalValue> for LocalValue
impl From<RegExpLocalValue> for LocalValue
Source§fn from(v: RegExpLocalValue) -> Self
fn from(v: RegExpLocalValue) -> Self
Converts to this type from the input type.
Source§impl From<RemoteReference> for LocalValue
impl From<RemoteReference> for LocalValue
Source§fn from(v: RemoteReference) -> Self
fn from(v: RemoteReference) -> Self
Converts to this type from the input type.
Source§impl From<SetLocalValue> for LocalValue
impl From<SetLocalValue> for LocalValue
Source§fn from(v: SetLocalValue) -> Self
fn from(v: SetLocalValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LocalValue
impl PartialEq for LocalValue
Source§impl Serialize for LocalValue
impl Serialize for LocalValue
Source§impl TryFrom<LocalValue> for ArrayLocalValue
impl TryFrom<LocalValue> for ArrayLocalValue
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
Source§impl TryFrom<LocalValue> for ChannelValue
impl TryFrom<LocalValue> for ChannelValue
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
Source§impl TryFrom<LocalValue> for DateLocalValue
impl TryFrom<LocalValue> for DateLocalValue
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
Source§impl TryFrom<LocalValue> for MapLocalValue
impl TryFrom<LocalValue> for MapLocalValue
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
Source§impl TryFrom<LocalValue> for ObjectLocalValue
impl TryFrom<LocalValue> for ObjectLocalValue
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
Source§impl TryFrom<LocalValue> for PrimitiveProtocolValue
impl TryFrom<LocalValue> for PrimitiveProtocolValue
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
Source§impl TryFrom<LocalValue> for RegExpLocalValue
impl TryFrom<LocalValue> for RegExpLocalValue
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
Source§impl TryFrom<LocalValue> for RemoteReference
impl TryFrom<LocalValue> for RemoteReference
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
Source§impl TryFrom<LocalValue> for SetLocalValue
impl TryFrom<LocalValue> for SetLocalValue
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
impl StructuralPartialEq for LocalValue
Auto Trait Implementations§
impl Freeze for LocalValue
impl RefUnwindSafe for LocalValue
impl Send for LocalValue
impl Sync for LocalValue
impl Unpin for LocalValue
impl UnsafeUnpin for LocalValue
impl UnwindSafe for LocalValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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