pub enum PrimitiveProtocolValue {
UndefinedValue(UndefinedValue),
NullValue(NullValue),
StringValue(StringValue),
NumberValue(NumberValue),
BooleanValue(BooleanValue),
BigIntValue(BigIntValue),
}Variants§
UndefinedValue(UndefinedValue)
NullValue(NullValue)
StringValue(StringValue)
NumberValue(NumberValue)
BooleanValue(BooleanValue)
BigIntValue(BigIntValue)
Trait Implementations§
Source§impl Clone for PrimitiveProtocolValue
impl Clone for PrimitiveProtocolValue
Source§fn clone(&self) -> PrimitiveProtocolValue
fn clone(&self) -> PrimitiveProtocolValue
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 PrimitiveProtocolValue
impl Debug for PrimitiveProtocolValue
Source§impl<'de> Deserialize<'de> for PrimitiveProtocolValue
impl<'de> Deserialize<'de> for PrimitiveProtocolValue
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<BigIntValue> for PrimitiveProtocolValue
impl From<BigIntValue> for PrimitiveProtocolValue
Source§fn from(v: BigIntValue) -> Self
fn from(v: BigIntValue) -> Self
Converts to this type from the input type.
Source§impl From<BooleanValue> for PrimitiveProtocolValue
impl From<BooleanValue> for PrimitiveProtocolValue
Source§fn from(v: BooleanValue) -> Self
fn from(v: BooleanValue) -> Self
Converts to this type from the input type.
Source§impl From<NullValue> for PrimitiveProtocolValue
impl From<NullValue> for PrimitiveProtocolValue
Source§impl From<NumberValue> for PrimitiveProtocolValue
impl From<NumberValue> for PrimitiveProtocolValue
Source§fn from(v: NumberValue) -> Self
fn from(v: NumberValue) -> 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<PrimitiveProtocolValue> for RemoteValue
impl From<PrimitiveProtocolValue> for RemoteValue
Source§fn from(v: PrimitiveProtocolValue) -> Self
fn from(v: PrimitiveProtocolValue) -> Self
Converts to this type from the input type.
Source§impl From<StringValue> for PrimitiveProtocolValue
impl From<StringValue> for PrimitiveProtocolValue
Source§fn from(v: StringValue) -> Self
fn from(v: StringValue) -> Self
Converts to this type from the input type.
Source§impl From<UndefinedValue> for PrimitiveProtocolValue
impl From<UndefinedValue> for PrimitiveProtocolValue
Source§fn from(v: UndefinedValue) -> Self
fn from(v: UndefinedValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrimitiveProtocolValue
impl PartialEq for PrimitiveProtocolValue
Source§impl Serialize for PrimitiveProtocolValue
impl Serialize for PrimitiveProtocolValue
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<PrimitiveProtocolValue> for BigIntValue
impl TryFrom<PrimitiveProtocolValue> for BigIntValue
Source§type Error = PrimitiveProtocolValue
type Error = PrimitiveProtocolValue
The type returned in the event of a conversion error.
Source§impl TryFrom<PrimitiveProtocolValue> for BooleanValue
impl TryFrom<PrimitiveProtocolValue> for BooleanValue
Source§type Error = PrimitiveProtocolValue
type Error = PrimitiveProtocolValue
The type returned in the event of a conversion error.
Source§impl TryFrom<PrimitiveProtocolValue> for NullValue
impl TryFrom<PrimitiveProtocolValue> for NullValue
Source§type Error = PrimitiveProtocolValue
type Error = PrimitiveProtocolValue
The type returned in the event of a conversion error.
Source§impl TryFrom<PrimitiveProtocolValue> for NumberValue
impl TryFrom<PrimitiveProtocolValue> for NumberValue
Source§type Error = PrimitiveProtocolValue
type Error = PrimitiveProtocolValue
The type returned in the event of a conversion error.
Source§impl TryFrom<PrimitiveProtocolValue> for StringValue
impl TryFrom<PrimitiveProtocolValue> for StringValue
Source§type Error = PrimitiveProtocolValue
type Error = PrimitiveProtocolValue
The type returned in the event of a conversion error.
Source§impl TryFrom<PrimitiveProtocolValue> for UndefinedValue
impl TryFrom<PrimitiveProtocolValue> for UndefinedValue
Source§type Error = PrimitiveProtocolValue
type Error = PrimitiveProtocolValue
The type returned in the event of a conversion error.
Source§impl TryFrom<RemoteValue> for PrimitiveProtocolValue
impl TryFrom<RemoteValue> for PrimitiveProtocolValue
Source§type Error = RemoteValue
type Error = RemoteValue
The type returned in the event of a conversion error.
impl StructuralPartialEq for PrimitiveProtocolValue
Auto Trait Implementations§
impl Freeze for PrimitiveProtocolValue
impl RefUnwindSafe for PrimitiveProtocolValue
impl Send for PrimitiveProtocolValue
impl Sync for PrimitiveProtocolValue
impl Unpin for PrimitiveProtocolValue
impl UnsafeUnpin for PrimitiveProtocolValue
impl UnwindSafe for PrimitiveProtocolValue
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