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§
source§impl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
impl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
source§impl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiReferenceStr<S>, D>
impl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiReferenceStr<S>, D>
source§impl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiRelativeStr<S>, D>
impl<S: Spec, D: Display> Debug for PasswordReplaced<'_, RiRelativeStr<S>, D>
source§impl<S: Spec, D: Display> Display for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
impl<S: Spec, D: Display> Display for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
source§impl<S: Spec, D: Display> Display for PasswordReplaced<'_, RiReferenceStr<S>, D>
impl<S: Spec, D: Display> Display for PasswordReplaced<'_, RiReferenceStr<S>, D>
source§impl<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, D> Freeze for PasswordReplaced<'a, T, D>
impl<'a, T, D> RefUnwindSafe for PasswordReplaced<'a, T, D>
impl<'a, T, D> Send for PasswordReplaced<'a, T, D>
impl<'a, T, D> Sync for PasswordReplaced<'a, T, D>
impl<'a, T, D> Unpin for PasswordReplaced<'a, T, D>
impl<'a, T, D> UnwindSafe for PasswordReplaced<'a, T, D>
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> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
source§fn 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.