pub struct AllowedUserRow {
pub email: String,
pub added_by: String,
pub created_at: i64,
}Expand description
A row from the allowed_users table.
Email is always stored and returned in lowercase. added_by is the subject
of the admin who added the entry. Never log email directly — use
util::fingerprint(email) for safe diagnostic output.
Fields§
§email: String§added_by: String§created_at: i64Trait Implementations§
Source§impl Clone for AllowedUserRow
impl Clone for AllowedUserRow
Source§fn clone(&self) -> AllowedUserRow
fn clone(&self) -> AllowedUserRow
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 moreSource§impl Debug for AllowedUserRow
impl Debug for AllowedUserRow
Source§impl<'de> Deserialize<'de> for AllowedUserRow
impl<'de> Deserialize<'de> for AllowedUserRow
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 PartialEq for AllowedUserRow
impl PartialEq for AllowedUserRow
Source§fn eq(&self, other: &AllowedUserRow) -> bool
fn eq(&self, other: &AllowedUserRow) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AllowedUserRow
impl Serialize for AllowedUserRow
impl Eq for AllowedUserRow
impl StructuralPartialEq for AllowedUserRow
Auto Trait Implementations§
impl Freeze for AllowedUserRow
impl RefUnwindSafe for AllowedUserRow
impl Send for AllowedUserRow
impl Sync for AllowedUserRow
impl Unpin for AllowedUserRow
impl UnsafeUnpin for AllowedUserRow
impl UnwindSafe for AllowedUserRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more