pub struct JsonPointer(/* private fields */);Expand description
RFC 6901 JSON Pointer into a FlowIR document (SourceMapEntry.irPath).
Implementations§
Source§impl JsonPointer
impl JsonPointer
Trait Implementations§
Source§impl AsRef<str> for JsonPointer
impl AsRef<str> for JsonPointer
Source§impl Clone for JsonPointer
impl Clone for JsonPointer
Source§fn clone(&self) -> JsonPointer
fn clone(&self) -> JsonPointer
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 JsonPointer
impl Debug for JsonPointer
Source§impl<'de> Deserialize<'de> for JsonPointer
impl<'de> Deserialize<'de> for JsonPointer
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 Display for JsonPointer
impl Display for JsonPointer
impl Eq for JsonPointer
Source§impl From<JsonPointer> for String
impl From<JsonPointer> for String
Source§fn from(value: JsonPointer) -> String
fn from(value: JsonPointer) -> String
Converts to this type from the input type.
Source§impl FromStr for JsonPointer
impl FromStr for JsonPointer
Source§impl Hash for JsonPointer
impl Hash for JsonPointer
Source§impl JsonSchema for JsonPointer
impl JsonSchema for JsonPointer
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§impl Ord for JsonPointer
impl Ord for JsonPointer
Source§fn cmp(&self, other: &JsonPointer) -> Ordering
fn cmp(&self, other: &JsonPointer) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for JsonPointer
impl PartialEq for JsonPointer
Source§impl PartialOrd for JsonPointer
impl PartialOrd for JsonPointer
Source§impl Serialize for JsonPointer
impl Serialize for JsonPointer
impl StructuralPartialEq for JsonPointer
Source§impl TryFrom<&str> for JsonPointer
impl TryFrom<&str> for JsonPointer
Auto Trait Implementations§
impl Freeze for JsonPointer
impl RefUnwindSafe for JsonPointer
impl Send for JsonPointer
impl Sync for JsonPointer
impl Unpin for JsonPointer
impl UnsafeUnpin for JsonPointer
impl UnwindSafe for JsonPointer
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