pub struct EnumValueNode {
pub variant: CamelCaseString,
pub enum: DefinedTypeLinkNode,
pub value: Option<EnumVariantData>,
}Fields§
§variant: CamelCaseString§enum: DefinedTypeLinkNode§value: Option<EnumVariantData>Implementations§
Trait Implementations§
Source§impl Clone for EnumValueNode
impl Clone for EnumValueNode
Source§fn clone(&self) -> EnumValueNode
fn clone(&self) -> EnumValueNode
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 EnumValueNode
impl Debug for EnumValueNode
Source§impl<'de> Deserialize<'de> for EnumValueNode
impl<'de> Deserialize<'de> for EnumValueNode
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<EnumValueNode> for InstructionInputValueNode
impl From<EnumValueNode> for InstructionInputValueNode
Source§fn from(value: EnumValueNode) -> Self
fn from(value: EnumValueNode) -> Self
Converts to this type from the input type.
Source§impl From<EnumValueNode> for Node
impl From<EnumValueNode> for Node
Source§fn from(val: EnumValueNode) -> Self
fn from(val: EnumValueNode) -> Self
Converts to this type from the input type.
Source§impl From<EnumValueNode> for PdaSeedValueValueNode
impl From<EnumValueNode> for PdaSeedValueValueNode
Source§fn from(value: EnumValueNode) -> Self
fn from(value: EnumValueNode) -> Self
Converts to this type from the input type.
Source§impl From<EnumValueNode> for RegisteredValueNode
impl From<EnumValueNode> for RegisteredValueNode
Source§fn from(value: EnumValueNode) -> Self
fn from(value: EnumValueNode) -> Self
Converts to this type from the input type.
Source§impl From<EnumValueNode> for ValueNode
impl From<EnumValueNode> for ValueNode
Source§fn from(value: EnumValueNode) -> Self
fn from(value: EnumValueNode) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for EnumValueNode
impl NodeTrait for EnumValueNode
const KIND: &'static str = "enumValueNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for EnumValueNode
impl PartialEq for EnumValueNode
Source§impl Serialize for EnumValueNode
impl Serialize for EnumValueNode
impl StructuralPartialEq for EnumValueNode
Auto Trait Implementations§
impl Freeze for EnumValueNode
impl RefUnwindSafe for EnumValueNode
impl Send for EnumValueNode
impl Sync for EnumValueNode
impl Unpin for EnumValueNode
impl UnwindSafe for EnumValueNode
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