pub struct AuthoredPath(/* private fields */);Expand description
A path in the authored JSON: keys and indices, displayed as v3 spelled them,
tasks[1].tasks[0].id, function.input.mappings[3].logic. The root displays
as the empty string.
A key that could not otherwise be read back, one that is empty or holds a
., [, ] or ", displays as a JSON string in brackets:
function.input.fields["a.b"], [""]. FromStr reads every displayed
form back, and a path serializes as it displays.
Implementations§
Source§impl AuthoredPath
impl AuthoredPath
Trait Implementations§
Source§impl Clone for AuthoredPath
impl Clone for AuthoredPath
Source§impl Debug for AuthoredPath
impl Debug for AuthoredPath
Source§impl Default for AuthoredPath
impl Default for AuthoredPath
Source§impl<'de> Deserialize<'de> for AuthoredPath
impl<'de> Deserialize<'de> for AuthoredPath
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AuthoredPath
impl Display for AuthoredPath
impl Eq for AuthoredPath
Source§impl FromStr for AuthoredPath
impl FromStr for AuthoredPath
Source§impl Hash for AuthoredPath
impl Hash for AuthoredPath
Source§impl Ord for AuthoredPath
impl Ord for AuthoredPath
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AuthoredPath
impl PartialEq for AuthoredPath
Source§impl PartialOrd for AuthoredPath
impl PartialOrd for AuthoredPath
Source§impl Serialize for AuthoredPath
impl Serialize for AuthoredPath
impl StructuralPartialEq for AuthoredPath
Auto Trait Implementations§
impl Freeze for AuthoredPath
impl RefUnwindSafe for AuthoredPath
impl Send for AuthoredPath
impl Sync for AuthoredPath
impl Unpin for AuthoredPath
impl UnsafeUnpin for AuthoredPath
impl UnwindSafe for AuthoredPath
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.