Struct RedactedValue
pub struct RedactedValue {
inner: Option<RedactedValueInner>,
}Fields§
§inner: Option<RedactedValueInner>Trait Implementations§
§impl Clone for RedactedValue
impl Clone for RedactedValue
§fn clone(&self) -> RedactedValue
fn clone(&self) -> RedactedValue
Returns a duplicate 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 more§impl From<&'static Path> for RedactedValue
impl From<&'static Path> for RedactedValue
§fn from(inner: &'static Path) -> RedactedValue
fn from(inner: &'static Path) -> RedactedValue
Converts to this type from the input type.
§impl From<&PathBuf> for RedactedValue
impl From<&PathBuf> for RedactedValue
§fn from(inner: &PathBuf) -> RedactedValue
fn from(inner: &PathBuf) -> RedactedValue
Converts to this type from the input type.
§impl From<&Regex> for RedactedValue
Available on crate feature regex only.
impl From<&Regex> for RedactedValue
Available on crate feature
regex only.§fn from(inner: &Regex) -> RedactedValue
fn from(inner: &Regex) -> RedactedValue
Converts to this type from the input type.
§impl From<&String> for RedactedValue
impl From<&String> for RedactedValue
§fn from(inner: &String) -> RedactedValue
fn from(inner: &String) -> RedactedValue
Converts to this type from the input type.
§impl From<&'static str> for RedactedValue
impl From<&'static str> for RedactedValue
§fn from(inner: &'static str) -> RedactedValue
fn from(inner: &'static str) -> RedactedValue
Converts to this type from the input type.
§impl From<Cow<'static, str>> for RedactedValue
impl From<Cow<'static, str>> for RedactedValue
§fn from(inner: Cow<'static, str>) -> RedactedValue
fn from(inner: Cow<'static, str>) -> RedactedValue
Converts to this type from the input type.
§impl From<PathBuf> for RedactedValue
impl From<PathBuf> for RedactedValue
§fn from(inner: PathBuf) -> RedactedValue
fn from(inner: PathBuf) -> RedactedValue
Converts to this type from the input type.
§impl From<Regex> for RedactedValue
Available on crate feature regex only.
impl From<Regex> for RedactedValue
Available on crate feature
regex only.§fn from(inner: Regex) -> RedactedValue
fn from(inner: Regex) -> RedactedValue
Converts to this type from the input type.
§impl From<String> for RedactedValue
impl From<String> for RedactedValue
§fn from(inner: String) -> RedactedValue
fn from(inner: String) -> RedactedValue
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RedactedValue
impl RefUnwindSafe for RedactedValue
impl Send for RedactedValue
impl Sync for RedactedValue
impl Unpin for RedactedValue
impl UnsafeUnpin for RedactedValue
impl UnwindSafe for RedactedValue
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes