Struct poem_openapi::types::Password [−][src]
pub struct Password(pub String);
Expand description
A password type.
NOTE: Its type is string
and the format is password
, and it does not
protect the data in the memory.
Tuple Fields
0: String
Trait Implementations
Parse from serde_json::Value
.
Parse from parameter.
Convert this value to serde_json::Value
.
type RawValueType = Self
type RawValueType = Self
The raw type used for validator. Read more
Returns a reference to the raw value.
Get schema reference of this type.
If it is true
, it means that this value is required.
Auto Trait Implementations
impl RefUnwindSafe for Password
impl UnwindSafe for Password
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more