pub enum DisplayNode {
AmountNumber(AmountNumberDisplayNode),
DateTimeNumber(DateTimeNumberDisplayNode),
DurationNumber(DurationNumberDisplayNode),
EnumVariant(EnumVariantDisplayNode),
Instruction(InstructionDisplayNode),
InstructionAccount(InstructionAccountDisplayNode),
String(StringDisplayNode),
StructField(StructFieldDisplayNode),
}Variants§
AmountNumber(AmountNumberDisplayNode)
DateTimeNumber(DateTimeNumberDisplayNode)
DurationNumber(DurationNumberDisplayNode)
EnumVariant(EnumVariantDisplayNode)
Instruction(InstructionDisplayNode)
InstructionAccount(InstructionAccountDisplayNode)
String(StringDisplayNode)
StructField(StructFieldDisplayNode)
Trait Implementations§
Source§impl Clone for DisplayNode
impl Clone for DisplayNode
Source§fn clone(&self) -> DisplayNode
fn clone(&self) -> DisplayNode
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 DisplayNode
impl Debug for DisplayNode
Source§impl<'de> Deserialize<'de> for DisplayNode
impl<'de> Deserialize<'de> for DisplayNode
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<AmountNumberDisplayNode> for DisplayNode
impl From<AmountNumberDisplayNode> for DisplayNode
Source§fn from(value: AmountNumberDisplayNode) -> Self
fn from(value: AmountNumberDisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<DateTimeNumberDisplayNode> for DisplayNode
impl From<DateTimeNumberDisplayNode> for DisplayNode
Source§fn from(value: DateTimeNumberDisplayNode) -> Self
fn from(value: DateTimeNumberDisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<DisplayNode> for Node
impl From<DisplayNode> for Node
Source§fn from(value: DisplayNode) -> Self
fn from(value: DisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<DurationNumberDisplayNode> for DisplayNode
impl From<DurationNumberDisplayNode> for DisplayNode
Source§fn from(value: DurationNumberDisplayNode) -> Self
fn from(value: DurationNumberDisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<EnumVariantDisplayNode> for DisplayNode
impl From<EnumVariantDisplayNode> for DisplayNode
Source§fn from(value: EnumVariantDisplayNode) -> Self
fn from(value: EnumVariantDisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<InstructionAccountDisplayNode> for DisplayNode
impl From<InstructionAccountDisplayNode> for DisplayNode
Source§fn from(value: InstructionAccountDisplayNode) -> Self
fn from(value: InstructionAccountDisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<InstructionDisplayNode> for DisplayNode
impl From<InstructionDisplayNode> for DisplayNode
Source§fn from(value: InstructionDisplayNode) -> Self
fn from(value: InstructionDisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<StringDisplayNode> for DisplayNode
impl From<StringDisplayNode> for DisplayNode
Source§fn from(value: StringDisplayNode) -> Self
fn from(value: StringDisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<StructFieldDisplayNode> for DisplayNode
impl From<StructFieldDisplayNode> for DisplayNode
Source§fn from(value: StructFieldDisplayNode) -> Self
fn from(value: StructFieldDisplayNode) -> Self
Converts to this type from the input type.
impl NodeUnionTrait for DisplayNode
Source§impl PartialEq for DisplayNode
impl PartialEq for DisplayNode
Source§impl Serialize for DisplayNode
impl Serialize for DisplayNode
impl StructuralPartialEq for DisplayNode
Auto Trait Implementations§
impl Freeze for DisplayNode
impl RefUnwindSafe for DisplayNode
impl Send for DisplayNode
impl Sync for DisplayNode
impl Unpin for DisplayNode
impl UnsafeUnpin for DisplayNode
impl UnwindSafe for DisplayNode
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