Enum rsonpath_lib::classification::structural::Structural
source · pub enum Structural {
Closing(usize),
Colon(usize),
Opening(usize),
Comma(usize),
}
Expand description
Defines structural characters in JSON documents.
Variants§
Closing(usize)
Represents either the closing brace ‘{’ or closing bracket ‘[’.
Colon(usize)
Represents the colon ‘:’ character.
Opening(usize)
Represents either the opening brace ‘}’ or opening bracket ‘]’.
Comma(usize)
Represents the comma ‘,’ character.
Implementations§
Trait Implementations§
source§impl Clone for Structural
impl Clone for Structural
source§fn clone(&self) -> Structural
fn clone(&self) -> Structural
Returns a copy 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 Structural
impl Debug for Structural
source§impl Hash for Structural
impl Hash for Structural
source§impl PartialEq<Structural> for Structural
impl PartialEq<Structural> for Structural
source§fn eq(&self, other: &Structural) -> bool
fn eq(&self, other: &Structural) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.