pub enum ValidNode {
AnyNode(AnyNode),
NullNode(NullNode),
BooleanNode(BooleanNode),
StringNode(StringNode),
NumberNode(NumberNode),
IntegerNode(IntegerNode),
ArrayNode(ArrayNode),
ObjectNode(ObjectNode),
}
Variants§
AnyNode(AnyNode)
NullNode(NullNode)
BooleanNode(BooleanNode)
StringNode(StringNode)
NumberNode(NumberNode)
IntegerNode(IntegerNode)
ArrayNode(ArrayNode)
ObjectNode(ObjectNode)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ValidNode
impl<'de> Deserialize<'de> for ValidNode
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<BooleanNode> for ValidNode
impl From<BooleanNode> for ValidNode
Source§fn from(inner: BooleanNode) -> Self
fn from(inner: BooleanNode) -> Self
Converts to this type from the input type.
Source§impl From<IntegerNode> for ValidNode
impl From<IntegerNode> for ValidNode
Source§fn from(inner: IntegerNode) -> Self
fn from(inner: IntegerNode) -> Self
Converts to this type from the input type.
Source§impl From<NumberNode> for ValidNode
impl From<NumberNode> for ValidNode
Source§fn from(inner: NumberNode) -> Self
fn from(inner: NumberNode) -> Self
Converts to this type from the input type.
Source§impl From<ObjectNode> for ValidNode
impl From<ObjectNode> for ValidNode
Source§fn from(inner: ObjectNode) -> Self
fn from(inner: ObjectNode) -> Self
Converts to this type from the input type.
Source§impl From<StringNode> for ValidNode
impl From<StringNode> for ValidNode
Source§fn from(inner: StringNode) -> Self
fn from(inner: StringNode) -> Self
Converts to this type from the input type.
Source§impl From<ValidNode> for SchemaNode
impl From<ValidNode> for SchemaNode
impl StructuralPartialEq for ValidNode
Auto Trait Implementations§
impl Freeze for ValidNode
impl RefUnwindSafe for ValidNode
impl Send for ValidNode
impl Sync for ValidNode
impl Unpin for ValidNode
impl UnwindSafe for ValidNode
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