pub enum EnumValuePayload {
Struct(StructValueNode),
Tuple(TupleValueNode),
}Variants§
Struct(StructValueNode)
Tuple(TupleValueNode)
Trait Implementations§
Source§impl Clone for EnumValuePayload
impl Clone for EnumValuePayload
Source§fn clone(&self) -> EnumValuePayload
fn clone(&self) -> EnumValuePayload
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 EnumValuePayload
impl Debug for EnumValuePayload
Source§impl<'de> Deserialize<'de> for EnumValuePayload
impl<'de> Deserialize<'de> for EnumValuePayload
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<StructValueNode> for EnumValuePayload
impl From<StructValueNode> for EnumValuePayload
Source§fn from(value: StructValueNode) -> Self
fn from(value: StructValueNode) -> Self
Converts to this type from the input type.
Source§impl From<TupleValueNode> for EnumValuePayload
impl From<TupleValueNode> for EnumValuePayload
Source§fn from(value: TupleValueNode) -> Self
fn from(value: TupleValueNode) -> Self
Converts to this type from the input type.
impl NodeUnionTrait for EnumValuePayload
Source§impl PartialEq for EnumValuePayload
impl PartialEq for EnumValuePayload
Source§impl Serialize for EnumValuePayload
impl Serialize for EnumValuePayload
impl StructuralPartialEq for EnumValuePayload
Auto Trait Implementations§
impl Freeze for EnumValuePayload
impl RefUnwindSafe for EnumValuePayload
impl Send for EnumValuePayload
impl Sync for EnumValuePayload
impl Unpin for EnumValuePayload
impl UnsafeUnpin for EnumValuePayload
impl UnwindSafe for EnumValuePayload
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