pub struct User {Show 14 fields
pub id: Uuid,
pub profile_name: String,
pub identity_type: String,
pub identity_public_key: Option<String>,
pub encryption_public_key: Option<String>,
pub signature_public_key: Option<String>,
pub node_signature_public_key: Option<String>,
pub node_encryption_public_key: Option<String>,
pub permission_type: Option<String>,
pub wallet_id: Option<String>,
pub metadata: Option<Value>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub is_active: bool,
}Expand description
User model
Fields§
§id: Uuid§profile_name: String§identity_type: String§identity_public_key: Option<String>§encryption_public_key: Option<String>§signature_public_key: Option<String>§node_signature_public_key: Option<String>§node_encryption_public_key: Option<String>§permission_type: Option<String>§wallet_id: Option<String>§metadata: Option<Value>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§is_active: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
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
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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