pub struct PartialValueSerializedAsExpr(/* private fields */);
Expand description
PartialValue
, but serialized as a RestrictedExpr
.
(Extension values can’t be directly serialized, but can be serialized as
RestrictedExpr
)
Trait Implementations§
Source§impl AsRef<PartialValue> for PartialValueSerializedAsExpr
impl AsRef<PartialValue> for PartialValueSerializedAsExpr
Source§fn as_ref(&self) -> &PartialValue
fn as_ref(&self) -> &PartialValue
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for PartialValueSerializedAsExpr
impl Clone for PartialValueSerializedAsExpr
Source§fn clone(&self) -> PartialValueSerializedAsExpr
fn clone(&self) -> PartialValueSerializedAsExpr
Returns a copy 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 PartialValueSerializedAsExpr
impl Debug for PartialValueSerializedAsExpr
Source§impl From<PartialValue> for PartialValueSerializedAsExpr
impl From<PartialValue> for PartialValueSerializedAsExpr
Source§fn from(value: PartialValue) -> PartialValueSerializedAsExpr
fn from(value: PartialValue) -> PartialValueSerializedAsExpr
Converts to this type from the input type.
Source§impl From<PartialValueSerializedAsExpr> for PartialValue
impl From<PartialValueSerializedAsExpr> for PartialValue
Source§fn from(value: PartialValueSerializedAsExpr) -> PartialValue
fn from(value: PartialValueSerializedAsExpr) -> PartialValue
Converts to this type from the input type.
Source§impl PartialEq for PartialValueSerializedAsExpr
impl PartialEq for PartialValueSerializedAsExpr
Source§fn eq(&self, other: &PartialValueSerializedAsExpr) -> bool
fn eq(&self, other: &PartialValueSerializedAsExpr) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Deref for PartialValueSerializedAsExpr
impl Deref for PartialValueSerializedAsExpr
impl Eq for PartialValueSerializedAsExpr
impl StructuralPartialEq for PartialValueSerializedAsExpr
Auto Trait Implementations§
impl Freeze for PartialValueSerializedAsExpr
impl RefUnwindSafe for PartialValueSerializedAsExpr
impl Send for PartialValueSerializedAsExpr
impl Sync for PartialValueSerializedAsExpr
impl Unpin for PartialValueSerializedAsExpr
impl UnwindSafe for PartialValueSerializedAsExpr
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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