pub struct UserEntry {
pub user: UserInfo,
pub link_expires_at: Option<Timestamp>,
}Available on crate feature
alloc only.Expand description
A user in the admin list.
Fields§
§user: UserInfoThe user.
link_expires_at: Option<Timestamp>When the user’s live registration or reset link expires, if there is one.
Trait Implementations§
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for UserEntrywhere
__A: Allocator,
Available on crate feature musli02 only.
impl<'__de, __A> Decode<'__de, Binary, __A> for UserEntrywhere
__A: Allocator,
Available on crate feature
musli02 only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'__de, __A> Decode<'__de, Text, __A> for UserEntrywhere
__A: Allocator,
Available on crate feature musli02 only.
impl<'__de, __A> Decode<'__de, Text, __A> for UserEntrywhere
__A: Allocator,
Available on crate feature
musli02 only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'de> Deserialize<'de> for UserEntry
impl<'de> Deserialize<'de> for UserEntry
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 Encode<Binary> for UserEntry
Available on crate feature musli02 only.
impl Encode<Binary> for UserEntry
Available on crate feature
musli02 only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl Encode<Text> for UserEntry
Available on crate feature musli02 only.
impl Encode<Text> for UserEntry
Available on crate feature
musli02 only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
impl Eq for UserEntry
impl StructuralPartialEq for UserEntry
Auto Trait Implementations§
impl Freeze for UserEntry
impl RefUnwindSafe for UserEntry
impl Send for UserEntry
impl Sync for UserEntry
impl Unpin for UserEntry
impl UnsafeUnpin for UserEntry
impl UnwindSafe for UserEntry
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