Struct puffer::db::UserMetadata
pub struct UserMetadata {
pub about: String,
pub avatar_url: Option<String>,
pub secondary_token: Option<String>,
pub allow_mail: Option<String>,
pub nickname: Option<String>,
pub page_template: Option<String>,
}
Fields§
§about: String
§avatar_url: Option<String>
§secondary_token: Option<String>
§allow_mail: Option<String>
§nickname: Option<String>
§page_template: Option<String>
Trait Implementations§
§impl Clone for UserMetadata
impl Clone for UserMetadata
§fn clone(&self) -> UserMetadata
fn clone(&self) -> UserMetadata
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 more§impl Debug for UserMetadata
impl Debug for UserMetadata
§impl Default for UserMetadata
impl Default for UserMetadata
§fn default() -> UserMetadata
fn default() -> UserMetadata
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for UserMetadata
impl<'de> Deserialize<'de> for UserMetadata
§fn deserialize<__D>(
__deserializer: __D
) -> Result<UserMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<UserMetadata, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for UserMetadata
impl PartialEq for UserMetadata
§fn eq(&self, other: &UserMetadata) -> bool
fn eq(&self, other: &UserMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for UserMetadata
impl Serialize for UserMetadata
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for UserMetadata
Auto Trait Implementations§
impl RefUnwindSafe for UserMetadata
impl Send for UserMetadata
impl Sync for UserMetadata
impl Unpin for UserMetadata
impl UnwindSafe for UserMetadata
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