pub struct PlatformAdminUser {
pub username: String,
pub user_id: Option<String>,
pub role: String,
pub active: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Fields§
§username: String§user_id: Option<String>§role: String§active: bool§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for PlatformAdminUser
impl Clone for PlatformAdminUser
Source§fn clone(&self) -> PlatformAdminUser
fn clone(&self) -> PlatformAdminUser
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 PlatformAdminUser
impl Debug for PlatformAdminUser
Source§impl<'de> Deserialize<'de> for PlatformAdminUser
impl<'de> Deserialize<'de> for PlatformAdminUser
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
impl Eq for PlatformAdminUser
Source§impl PartialEq for PlatformAdminUser
impl PartialEq for PlatformAdminUser
Source§impl Serialize for PlatformAdminUser
impl Serialize for PlatformAdminUser
impl StructuralPartialEq for PlatformAdminUser
Auto Trait Implementations§
impl Freeze for PlatformAdminUser
impl RefUnwindSafe for PlatformAdminUser
impl Send for PlatformAdminUser
impl Sync for PlatformAdminUser
impl Unpin for PlatformAdminUser
impl UnsafeUnpin for PlatformAdminUser
impl UnwindSafe for PlatformAdminUser
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