pub enum StringKind {
Domain,
Username,
Password,
}Expand description
Required to mark which string is too long.
See Error::TooLongString.
Variants§
Trait Implementations§
Source§impl Clone for StringKind
impl Clone for StringKind
Source§fn clone(&self) -> StringKind
fn clone(&self) -> StringKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StringKind
Source§impl Debug for StringKind
impl Debug for StringKind
impl Eq for StringKind
Source§impl Hash for StringKind
impl Hash for StringKind
Source§impl PartialEq for StringKind
impl PartialEq for StringKind
Source§fn eq(&self, other: &StringKind) -> bool
fn eq(&self, other: &StringKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StringKind
Auto Trait Implementations§
impl Freeze for StringKind
impl RefUnwindSafe for StringKind
impl Send for StringKind
impl Sync for StringKind
impl Unpin for StringKind
impl UnsafeUnpin for StringKind
impl UnwindSafe for StringKind
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