Enum kpdb::StringValue
source · [−]pub enum StringValue {
Plain(String),
Protected(SecStr),
}
Expand description
A value for the map with strings.
Variants
Plain(String)
Plain string value.
Protected(SecStr)
Protected string value.
Implementations
sourceimpl StringValue
impl StringValue
Trait Implementations
sourceimpl Clone for StringValue
impl Clone for StringValue
sourcefn clone(&self) -> StringValue
fn clone(&self) -> StringValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StringValue
impl Debug for StringValue
sourceimpl PartialEq<StringValue> for StringValue
impl PartialEq<StringValue> for StringValue
sourcefn eq(&self, other: &StringValue) -> bool
fn eq(&self, other: &StringValue) -> bool
impl StructuralPartialEq for StringValue
Auto Trait Implementations
impl RefUnwindSafe for StringValue
impl Send for StringValue
impl Sync for StringValue
impl Unpin for StringValue
impl UnwindSafe for StringValue
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