Struct dehashed_rs::SearchEntry
source · pub struct SearchEntry {
pub id: u64,
pub email: Option<String>,
pub username: Option<String>,
pub password: Option<String>,
pub hashed_password: Option<String>,
pub ip_address: Option<IpAddr>,
pub name: Option<String>,
pub vin: Option<String>,
pub address: Option<String>,
pub phone: Option<String>,
pub database_name: Option<String>,
}
Expand description
A single entry in a SearchResult
Fields§
§id: u64
ID of the entry
email: Option<String>
An email address, may be None if the result didn’t include this field
username: Option<String>
An username, may be None if the result didn’t include this field
password: Option<String>
A password, may be None if the result didn’t include this field
hashed_password: Option<String>
An hashed password, may be None if the result didn’t include this field
ip_address: Option<IpAddr>
An ip address, may be None if the result didn’t include this field
name: Option<String>
A name, may be None if the result didn’t include this field
vin: Option<String>
A vin, may be None if the result didn’t include this field
address: Option<String>
An address, may be None if the result didn’t include this field
phone: Option<String>
A phone, may be None if the result didn’t include this field
database_name: Option<String>
A database name, may be None if the result didn’t include this field
Trait Implementations§
source§impl Clone for SearchEntry
impl Clone for SearchEntry
source§fn clone(&self) -> SearchEntry
fn clone(&self) -> SearchEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SearchEntry
impl Debug for SearchEntry
source§impl<'de> Deserialize<'de> for SearchEntry
impl<'de> Deserialize<'de> for SearchEntry
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 Serialize for SearchEntry
impl Serialize for SearchEntry
Auto Trait Implementations§
impl RefUnwindSafe for SearchEntry
impl Send for SearchEntry
impl Sync for SearchEntry
impl Unpin for SearchEntry
impl UnwindSafe for SearchEntry
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