pub struct Password(pub String);
Expand description
Password is a String wrapper type that does not implement Display or Debug
Tuple Fields§
§0: String
Trait Implementations§
Source§impl Arbitrary for Password
impl Arbitrary for Password
Source§type Parameters = <String as Arbitrary>::Parameters
type Parameters = <String as Arbitrary>::Parameters
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.Source§type Strategy = Map<<String as Arbitrary>::Strategy, fn(String) -> Password>
type Strategy = Map<<String as Arbitrary>::Strategy, fn(String) -> Password>
The type of
Strategy
used to generate values of type Self
.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl<'de> Deserialize<'de> for Password
impl<'de> Deserialize<'de> for Password
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Password
impl Ord for Password
Source§impl PartialOrd for Password
impl PartialOrd for Password
impl Eq for Password
impl StructuralPartialEq for Password
Auto Trait Implementations§
impl Freeze for Password
impl RefUnwindSafe for Password
impl Send for Password
impl Sync for Password
impl Unpin for Password
impl UnwindSafe for Password
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