Struct iri_string::mask_password::PasswordReplaced
source · [−]pub struct PasswordReplaced<'a, T: ?Sized, D> { /* private fields */ }
Expand description
A wrapper of an IRI string that replaces the non-empty password when Display
ed.
This is a retrun type of mask_password
method of IRI string types (such as
RiStr::mask_password
).
Note that the result might be invalid as an IRI since arbitrary string can
go to the place of the password. Because of this, ToDedicatedString
trait is not implemented for this type.
Trait Implementations
sourceimpl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
impl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
sourceimpl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiReferenceStr<S>, D>
impl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiReferenceStr<S>, D>
sourceimpl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiRelativeStr<S>, D>
impl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiRelativeStr<S>, D>
sourceimpl<S: Spec, D: Display> Display for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
impl<S: Spec, D: Display> Display for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
sourceimpl<S: Spec, D: Display> Display for PasswordReplaced<'_, RiReferenceStr<S>, D>
impl<S: Spec, D: Display> Display for PasswordReplaced<'_, RiReferenceStr<S>, D>
sourceimpl<S: Spec, D: Display> Display for PasswordReplaced<'_, RiRelativeStr<S>, D>
impl<S: Spec, D: Display> Display for PasswordReplaced<'_, RiRelativeStr<S>, D>
Auto Trait Implementations
impl<'a, T: ?Sized, D> RefUnwindSafe for PasswordReplaced<'a, T, D>where
D: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T: ?Sized, D> Send for PasswordReplaced<'a, T, D>where
D: Send,
T: Sync,
impl<'a, T: ?Sized, D> Sync for PasswordReplaced<'a, T, D>where
D: Sync,
T: Sync,
impl<'a, T: ?Sized, D> Unpin for PasswordReplaced<'a, T, D>where
D: Unpin,
impl<'a, T: ?Sized, D> UnwindSafe for PasswordReplaced<'a, T, D>where
D: UnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
sourcefn try_to_string(&self) -> Result<String, TryReserveError>
Available on crate feature alloc
only.
fn try_to_string(&self) -> Result<String, TryReserveError>
alloc
only.ToString::to_string
, but without panic on OOM.