Struct ruma_common::thirdparty::User
source · pub struct User {
pub userid: OwnedUserId,
pub protocol: String,
pub fields: BTreeMap<String, String>,
}Expand description
A third party network user.
Fields§
§userid: OwnedUserIdA matrix user ID representing a third party user.
protocol: StringThe protocol ID that the third party user is a part of.
fields: BTreeMap<String, String>Information used to identify this third party user.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
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