pub struct SocialAccountFull {
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub identity: String,
pub person_link: Url,
pub platform: Platform,
}Expand description
Representation of the social_account-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
identity: StringIdentity
A dictionary with the identity attributes and values for the social account. The format is specific for each platform. Matrix account attributes: username, homeserver
person_link: UrlOwner
platform: PlatformSocial Platform Type
Implementations§
Source§impl SocialAccountFull
impl SocialAccountFull
Sourcepub fn self_(&self) -> Option<SocialAccount>
pub fn self_(&self) -> Option<SocialAccount>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<SocialAccount>)
pub fn set_person(&mut self, value: Person)
Trait Implementations§
Source§impl Clone for SocialAccountFull
impl Clone for SocialAccountFull
Source§fn clone(&self) -> SocialAccountFull
fn clone(&self) -> SocialAccountFull
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 SocialAccountFull
impl Debug for SocialAccountFull
Source§impl<'de> Deserialize<'de> for SocialAccountFull
impl<'de> Deserialize<'de> for SocialAccountFull
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 SocialAccountFull
impl PartialEq for SocialAccountFull
Source§impl Serialize for SocialAccountFull
impl Serialize for SocialAccountFull
impl StructuralPartialEq for SocialAccountFull
Auto Trait Implementations§
impl Freeze for SocialAccountFull
impl RefUnwindSafe for SocialAccountFull
impl Send for SocialAccountFull
impl Sync for SocialAccountFull
impl Unpin for SocialAccountFull
impl UnwindSafe for SocialAccountFull
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