Struct lesspass_client::Password
source · pub struct Password {
pub id: String,
pub site: String,
pub login: String,
pub lowercase: bool,
pub uppercase: bool,
pub symbols: bool,
pub numbers: bool,
pub length: u8,
pub counter: u32,
pub version: u8,
pub created: DateTime<Utc>,
pub modified: DateTime<Utc>,
}
Expand description
A password item in the password list
Fields§
§id: String
§site: String
§login: String
§lowercase: bool
§uppercase: bool
§symbols: bool
§numbers: bool
§length: u8
§counter: u32
§version: u8
§created: DateTime<Utc>
§modified: DateTime<Utc>
Trait Implementations§
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 PartialEq<Password> for Password
impl PartialEq<Password> for Password
source§impl PartialOrd<Password> for Password
impl PartialOrd<Password> for Password
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Password
impl StructuralEq for Password
impl StructuralPartialEq for Password
Auto Trait Implementations§
impl RefUnwindSafe for Password
impl Send for Password
impl Sync for Password
impl Unpin for Password
impl UnwindSafe for Password
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.