Struct ruma_client_api::r0::contact::create_contact::ThreePidCredentials
source · pub struct ThreePidCredentials {
pub client_secret: String,
pub id_server: String,
pub sid: String,
}Expand description
The third party credentials to associate with the account.
Fields§
§client_secret: StringThe client secret used in the session with the identity server.
id_server: StringThe identity server to use.
sid: StringThe session identifier given by the identity server.
Trait Implementations§
source§impl Clone for ThreePidCredentials
impl Clone for ThreePidCredentials
source§fn clone(&self) -> ThreePidCredentials
fn clone(&self) -> ThreePidCredentials
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 moresource§impl Debug for ThreePidCredentials
impl Debug for ThreePidCredentials
source§impl<'de> Deserialize<'de> for ThreePidCredentials
impl<'de> Deserialize<'de> for ThreePidCredentials
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