Struct redact_data::DataPath [−][src]
pub struct DataPath { /* fields omitted */ }
Expand description
DataPath
represents a json-style path for the location of a Data
object.
The path should always be formatted as .my.json.path.
; note the beginning and
ending periods. DataPath
will automatically handle path validation when
created or deserialized, just provide any valid json-path on creation.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
We need this because of a requirement on Deserialize Prefer not to use it, using the &str version instead
Auto Trait Implementations
impl RefUnwindSafe for DataPath
impl UnwindSafe for DataPath
Blanket Implementations
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove Any::type_id_compat and use StdAny::type_id instead. https://github.com/rust-lang/rust/issues/27745 Read more
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V