pub struct LocalProfile {
pub profile_id: i64,
pub display_name: String,
pub full_name: String,
pub short_descr: Option<String>,
pub image: Option<String>,
pub contact_link: Option<String>,
pub preferences: Option<Preferences>,
pub peer_type: Option<ChatPeerType>,
pub local_alias: String,
pub undocumented: HashMap<String, JsonObject>,
}Fields§
§profile_id: i64§display_name: String§full_name: String§short_descr: Option<String>§image: Option<String>§contact_link: Option<String>§preferences: Option<Preferences>§peer_type: Option<ChatPeerType>§local_alias: String§undocumented: HashMap<String, JsonObject>Trait Implementations§
Source§impl Clone for LocalProfile
impl Clone for LocalProfile
Source§fn clone(&self) -> LocalProfile
fn clone(&self) -> LocalProfile
Returns a duplicate 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 moreSource§impl Debug for LocalProfile
impl Debug for LocalProfile
Source§impl<'de> Deserialize<'de> for LocalProfile
impl<'de> Deserialize<'de> for LocalProfile
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 LocalProfile
impl PartialEq for LocalProfile
Source§impl Serialize for LocalProfile
impl Serialize for LocalProfile
impl StructuralPartialEq for LocalProfile
Auto Trait Implementations§
impl Freeze for LocalProfile
impl RefUnwindSafe for LocalProfile
impl Send for LocalProfile
impl Sync for LocalProfile
impl Unpin for LocalProfile
impl UnwindSafe for LocalProfile
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