[][src]Struct ruma_client_api::r0::capabilities::get_capabilities::Capabilities

pub struct Capabilities {
    pub change_password: Option<ChangePasswordCapability>,
    pub room_versions: Option<RoomVersionsCapability>,
    pub custom_capabilities: HashMap<String, Value>,
}

Contains information about all the capabilities that the server supports.

Fields

change_password: Option<ChangePasswordCapability>

Capability to indicate if the user can change their password.

room_versions: Option<RoomVersionsCapability>

The room versions the server supports.

custom_capabilities: HashMap<String, Value>

Any other custom capabilities that the server supports outside of the specification, labeled using the Java package naming convention and stored as arbitrary JSON values.

Trait Implementations

impl Clone for Capabilities[src]

impl Debug for Capabilities[src]

impl<'de> Deserialize<'de> for Capabilities[src]

impl Serialize for Capabilities[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,