pub struct SetTypeNode {
pub item: Box<TypeNode>,
pub count: CountNode,
}Fields§
§item: Box<TypeNode>§count: CountNodeImplementations§
Trait Implementations§
Source§impl Clone for SetTypeNode
impl Clone for SetTypeNode
Source§fn clone(&self) -> SetTypeNode
fn clone(&self) -> SetTypeNode
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 SetTypeNode
impl Debug for SetTypeNode
Source§impl<'de> Deserialize<'de> for SetTypeNode
impl<'de> Deserialize<'de> for SetTypeNode
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<SetTypeNode> for Node
impl From<SetTypeNode> for Node
Source§fn from(val: SetTypeNode) -> Self
fn from(val: SetTypeNode) -> Self
Converts to this type from the input type.
Source§impl From<SetTypeNode> for RegisteredTypeNode
impl From<SetTypeNode> for RegisteredTypeNode
Source§fn from(value: SetTypeNode) -> Self
fn from(value: SetTypeNode) -> Self
Converts to this type from the input type.
Source§impl From<SetTypeNode> for TypeNode
impl From<SetTypeNode> for TypeNode
Source§fn from(value: SetTypeNode) -> Self
fn from(value: SetTypeNode) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for SetTypeNode
impl NodeTrait for SetTypeNode
const KIND: &'static str = "setTypeNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for SetTypeNode
impl PartialEq for SetTypeNode
Source§impl Serialize for SetTypeNode
impl Serialize for SetTypeNode
Source§impl TypeNodeTrait for SetTypeNode
impl TypeNodeTrait for SetTypeNode
fn try_from_type_node(node: TypeNode) -> CodamaResult<Self>
fn into_type_node(self) -> TypeNode
impl StructuralPartialEq for SetTypeNode
Auto Trait Implementations§
impl Freeze for SetTypeNode
impl RefUnwindSafe for SetTypeNode
impl Send for SetTypeNode
impl Sync for SetTypeNode
impl Unpin for SetTypeNode
impl UnwindSafe for SetTypeNode
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