Struct password_hash::ParamsString [−][src]
pub struct ParamsString(_);
Expand description
Algorithm parameter string.
The PHC string format specification defines a set of optional algorithm-specific name/value pairs which can be encoded into a PHC-formatted parameter string as follows:
$<param>=<value>(,<param>=<value>)*
This type represents that set of parameters.
Implementations
Create new empty ParamsString
.
Add a key/value pair with a string value to the ParamsString
.
Add a key/value pair with a decimal value to the ParamsString
.
Borrow the contents of this ParamsString
as a str
.
Get the count of the number ASCII characters in this ParamsString
.
Get a parameter Value
by name.
Get a parameter as a str
.
Get a parameter as a Decimal
.
See Value::decimal
for format information.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParamsString
impl Send for ParamsString
impl Sync for ParamsString
impl Unpin for ParamsString
impl UnwindSafe for ParamsString
Blanket Implementations
Mutably borrows from an owned value. Read more