pub struct SocialAccountDiff {
pub identity: Option<String>,
pub platform: Option<Platform>,
}Expand description
Representation of the social_account-diff resource
Fields§
§identity: Option<String>Identity
A dictionary with the identity attributes and values for the social account. The format is specific for each platform. Matrix account attributes: username, homeserver
platform: Option<Platform>Social Platform Type
Trait Implementations§
Source§impl Clone for SocialAccountDiff
impl Clone for SocialAccountDiff
Source§fn clone(&self) -> SocialAccountDiff
fn clone(&self) -> SocialAccountDiff
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 SocialAccountDiff
impl Debug for SocialAccountDiff
Source§impl Default for SocialAccountDiff
impl Default for SocialAccountDiff
Source§impl<'de> Deserialize<'de> for SocialAccountDiff
impl<'de> Deserialize<'de> for SocialAccountDiff
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 SocialAccountDiff
impl PartialEq for SocialAccountDiff
Source§impl Serialize for SocialAccountDiff
impl Serialize for SocialAccountDiff
impl StructuralPartialEq for SocialAccountDiff
Auto Trait Implementations§
impl Freeze for SocialAccountDiff
impl RefUnwindSafe for SocialAccountDiff
impl Send for SocialAccountDiff
impl Sync for SocialAccountDiff
impl Unpin for SocialAccountDiff
impl UnwindSafe for SocialAccountDiff
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