Struct rincon_client::user::methods::ModifyUser [] [src]

pub struct ModifyUser<E> where
    E: UserExtra
{ /* fields omitted */ }

Partially updates the data of an existing user. The name of an existing user must be specified in user_name.

You need 'Administrate server' access level in order to execute this method call. Additionally, a user can change his/her own data.

Methods

impl<E> ModifyUser<E> where
    E: UserExtra
[src]

[src]

Constructs a new instance of ModifyUser for the given user and with the given UserUpdate.

[src]

Constructs a new instance of ModifyUser for the given user with no defined updates (an empty UserUpdate).

[src]

Returns the user name of the user to be modified.

[src]

Returns the UserUpdate of this method.

Trait Implementations

impl<E: Debug> Debug for ModifyUser<E> where
    E: UserExtra
[src]

[src]

Formats the value using the given formatter. Read more

impl<E: Clone> Clone for ModifyUser<E> where
    E: UserExtra
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<E: PartialEq> PartialEq for ModifyUser<E> where
    E: UserExtra
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<E> Method for ModifyUser<E> where
    E: UserExtra + DeserializeOwned
[src]

The type of the result of a method call.

RETURN_TYPE: RpcReturnType = RpcReturnType{result_field: None, code_field: Some(FIELD_CODE),}

Specification of the fields of RPC-like return type. Read more

[src]

Returns the specification of the RPC-like return type.

impl<E> Prepare for ModifyUser<E> where
    E: UserExtra + Serialize
[src]

The type of the content of a method call. Read more

[src]

Returns the type of operation this method is executing.

[src]

Returns the resource path of a REST operation.

[src]

Returns the query parameters of this method. Read more

[src]

Returns the header parameters of this method. Read more

[src]

Returns the content of this method if any. Read more

Auto Trait Implementations

impl<E> Send for ModifyUser<E> where
    E: Send

impl<E> Sync for ModifyUser<E> where
    E: Sync