pub struct EnumTupleVariantTypeNode {
pub name: CamelCaseString,
pub discriminator: Option<usize>,
pub tuple: NestedTypeNode<TupleTypeNode>,
}Fields§
§name: CamelCaseString§discriminator: Option<usize>§tuple: NestedTypeNode<TupleTypeNode>Implementations§
Source§impl EnumTupleVariantTypeNode
impl EnumTupleVariantTypeNode
Trait Implementations§
Source§impl Clone for EnumTupleVariantTypeNode
impl Clone for EnumTupleVariantTypeNode
Source§fn clone(&self) -> EnumTupleVariantTypeNode
fn clone(&self) -> EnumTupleVariantTypeNode
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 EnumTupleVariantTypeNode
impl Debug for EnumTupleVariantTypeNode
Source§impl<'de> Deserialize<'de> for EnumTupleVariantTypeNode
impl<'de> Deserialize<'de> for EnumTupleVariantTypeNode
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<EnumTupleVariantTypeNode> for EnumVariantTypeNode
impl From<EnumTupleVariantTypeNode> for EnumVariantTypeNode
Source§fn from(value: EnumTupleVariantTypeNode) -> Self
fn from(value: EnumTupleVariantTypeNode) -> Self
Converts to this type from the input type.
Source§impl From<EnumTupleVariantTypeNode> for Node
impl From<EnumTupleVariantTypeNode> for Node
Source§fn from(val: EnumTupleVariantTypeNode) -> Self
fn from(val: EnumTupleVariantTypeNode) -> Self
Converts to this type from the input type.
Source§impl From<EnumTupleVariantTypeNode> for RegisteredTypeNode
impl From<EnumTupleVariantTypeNode> for RegisteredTypeNode
Source§fn from(value: EnumTupleVariantTypeNode) -> Self
fn from(value: EnumTupleVariantTypeNode) -> Self
Converts to this type from the input type.
Source§impl HasName for EnumTupleVariantTypeNode
impl HasName for EnumTupleVariantTypeNode
fn name(&self) -> &CamelCaseString
Source§impl NodeTrait for EnumTupleVariantTypeNode
impl NodeTrait for EnumTupleVariantTypeNode
const KIND: &'static str = "enumTupleVariantTypeNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for EnumTupleVariantTypeNode
impl PartialEq for EnumTupleVariantTypeNode
Source§impl Serialize for EnumTupleVariantTypeNode
impl Serialize for EnumTupleVariantTypeNode
impl StructuralPartialEq for EnumTupleVariantTypeNode
Auto Trait Implementations§
impl Freeze for EnumTupleVariantTypeNode
impl RefUnwindSafe for EnumTupleVariantTypeNode
impl Send for EnumTupleVariantTypeNode
impl Sync for EnumTupleVariantTypeNode
impl Unpin for EnumTupleVariantTypeNode
impl UnwindSafe for EnumTupleVariantTypeNode
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