Struct ruma_client_api::r0::account::change_password::IncomingRequest[][src]

pub struct IncomingRequest {
    pub new_password: String,
    pub logout_devices: bool,
    pub auth: Option<IncomingAuthData>,
}
Expand description

‘Incoming’ variant of Request.

Fields

new_password: String

The new password for the account.

logout_devices: bool

True to revoke the user’s other access tokens, and their associated devices if the request succeeds.

Defaults to true.

When false, the server can still take advantage of the soft logout method for the user’s remaining devices.

auth: Option<IncomingAuthData>

Additional authentication information for the user-interactive authentication API.

Trait Implementations

Formats the value using the given formatter. Read more

A type capturing the error conditions that can be returned in the response.

Response type to return when the request is successful.

Metadata about the endpoint.

Tries to turn the given http::Request into this request type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.