pub enum RegisteredValueNode {
Show 16 variants
Array(ArrayValueNode),
Boolean(BooleanValueNode),
Bytes(BytesValueNode),
Constant(ConstantValueNode),
Enum(EnumValueNode),
Map(MapValueNode),
None(NoneValueNode),
Number(NumberValueNode),
PublicKey(PublicKeyValueNode),
Set(SetValueNode),
Some(SomeValueNode),
String(StringValueNode),
Struct(StructValueNode),
Tuple(TupleValueNode),
StructField(StructFieldValueNode),
MapEntry(MapEntryValueNode),
}Variants§
Array(ArrayValueNode)
Boolean(BooleanValueNode)
Bytes(BytesValueNode)
Constant(ConstantValueNode)
Enum(EnumValueNode)
Map(MapValueNode)
None(NoneValueNode)
Number(NumberValueNode)
PublicKey(PublicKeyValueNode)
Set(SetValueNode)
Some(SomeValueNode)
String(StringValueNode)
Struct(StructValueNode)
Tuple(TupleValueNode)
StructField(StructFieldValueNode)
MapEntry(MapEntryValueNode)
Trait Implementations§
Source§impl Clone for RegisteredValueNode
impl Clone for RegisteredValueNode
Source§fn clone(&self) -> RegisteredValueNode
fn clone(&self) -> RegisteredValueNode
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 RegisteredValueNode
impl Debug for RegisteredValueNode
Source§impl<'de> Deserialize<'de> for RegisteredValueNode
impl<'de> Deserialize<'de> for RegisteredValueNode
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<ArrayValueNode> for RegisteredValueNode
impl From<ArrayValueNode> for RegisteredValueNode
Source§fn from(value: ArrayValueNode) -> Self
fn from(value: ArrayValueNode) -> Self
Converts to this type from the input type.
Source§impl From<BooleanValueNode> for RegisteredValueNode
impl From<BooleanValueNode> for RegisteredValueNode
Source§fn from(value: BooleanValueNode) -> Self
fn from(value: BooleanValueNode) -> Self
Converts to this type from the input type.
Source§impl From<BytesValueNode> for RegisteredValueNode
impl From<BytesValueNode> for RegisteredValueNode
Source§fn from(value: BytesValueNode) -> Self
fn from(value: BytesValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ConstantValueNode> for RegisteredValueNode
impl From<ConstantValueNode> for RegisteredValueNode
Source§fn from(value: ConstantValueNode) -> Self
fn from(value: ConstantValueNode) -> 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<MapEntryValueNode> for RegisteredValueNode
impl From<MapEntryValueNode> for RegisteredValueNode
Source§fn from(value: MapEntryValueNode) -> Self
fn from(value: MapEntryValueNode) -> Self
Converts to this type from the input type.
Source§impl From<MapValueNode> for RegisteredValueNode
impl From<MapValueNode> for RegisteredValueNode
Source§fn from(value: MapValueNode) -> Self
fn from(value: MapValueNode) -> Self
Converts to this type from the input type.
Source§impl From<NoneValueNode> for RegisteredValueNode
impl From<NoneValueNode> for RegisteredValueNode
Source§fn from(value: NoneValueNode) -> Self
fn from(value: NoneValueNode) -> Self
Converts to this type from the input type.
Source§impl From<NumberValueNode> for RegisteredValueNode
impl From<NumberValueNode> for RegisteredValueNode
Source§fn from(value: NumberValueNode) -> Self
fn from(value: NumberValueNode) -> Self
Converts to this type from the input type.
Source§impl From<PublicKeyValueNode> for RegisteredValueNode
impl From<PublicKeyValueNode> for RegisteredValueNode
Source§fn from(value: PublicKeyValueNode) -> Self
fn from(value: PublicKeyValueNode) -> Self
Converts to this type from the input type.
Source§impl From<RegisteredValueNode> for Node
impl From<RegisteredValueNode> for Node
Source§fn from(value: RegisteredValueNode) -> Self
fn from(value: RegisteredValueNode) -> Self
Converts to this type from the input type.
Source§impl From<SetValueNode> for RegisteredValueNode
impl From<SetValueNode> for RegisteredValueNode
Source§fn from(value: SetValueNode) -> Self
fn from(value: SetValueNode) -> Self
Converts to this type from the input type.
Source§impl From<SomeValueNode> for RegisteredValueNode
impl From<SomeValueNode> for RegisteredValueNode
Source§fn from(value: SomeValueNode) -> Self
fn from(value: SomeValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StringValueNode> for RegisteredValueNode
impl From<StringValueNode> for RegisteredValueNode
Source§fn from(value: StringValueNode) -> Self
fn from(value: StringValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StructFieldValueNode> for RegisteredValueNode
impl From<StructFieldValueNode> for RegisteredValueNode
Source§fn from(value: StructFieldValueNode) -> Self
fn from(value: StructFieldValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StructValueNode> for RegisteredValueNode
impl From<StructValueNode> for RegisteredValueNode
Source§fn from(value: StructValueNode) -> Self
fn from(value: StructValueNode) -> Self
Converts to this type from the input type.
Source§impl From<TupleValueNode> for RegisteredValueNode
impl From<TupleValueNode> for RegisteredValueNode
Source§fn from(value: TupleValueNode) -> Self
fn from(value: TupleValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ValueNode> for RegisteredValueNode
impl From<ValueNode> for RegisteredValueNode
Source§impl PartialEq for RegisteredValueNode
impl PartialEq for RegisteredValueNode
Source§impl Serialize for RegisteredValueNode
impl Serialize for RegisteredValueNode
Source§impl TryFrom<RegisteredValueNode> for ValueNode
impl TryFrom<RegisteredValueNode> for ValueNode
Source§type Error = CodamaError
type Error = CodamaError
The type returned in the event of a conversion error.
impl NodeUnionTrait for RegisteredValueNode
impl StructuralPartialEq for RegisteredValueNode
Auto Trait Implementations§
impl Freeze for RegisteredValueNode
impl RefUnwindSafe for RegisteredValueNode
impl Send for RegisteredValueNode
impl Sync for RegisteredValueNode
impl Unpin for RegisteredValueNode
impl UnwindSafe for RegisteredValueNode
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