pub enum PropertyInput {
Value(PropertyValue),
Expr(Expr),
}Expand description
Mutation input value.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PropertyInput
impl Clone for PropertyInput
Source§fn clone(&self) -> PropertyInput
fn clone(&self) -> PropertyInput
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 moreSource§impl Debug for PropertyInput
impl Debug for PropertyInput
Source§impl<'de> Deserialize<'de> for PropertyInput
impl<'de> Deserialize<'de> for PropertyInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PropertyInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PropertyInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Expr> for PropertyInput
impl From<Expr> for PropertyInput
Source§fn from(value: Expr) -> PropertyInput
fn from(value: Expr) -> PropertyInput
Converts to this type from the input type.
Source§impl<T> From<T> for PropertyInputwhere
PropertyValue: From<T>,
impl<T> From<T> for PropertyInputwhere
PropertyValue: From<T>,
Source§fn from(value: T) -> PropertyInput
fn from(value: T) -> PropertyInput
Converts to this type from the input type.
Source§impl PartialEq for PropertyInput
impl PartialEq for PropertyInput
Source§impl Serialize for PropertyInput
impl Serialize for PropertyInput
Source§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
impl StructuralPartialEq for PropertyInput
Auto Trait Implementations§
impl Freeze for PropertyInput
impl RefUnwindSafe for PropertyInput
impl Send for PropertyInput
impl Sync for PropertyInput
impl Unpin for PropertyInput
impl UnsafeUnpin for PropertyInput
impl UnwindSafe for PropertyInput
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