Struct rincon_client::database::methods::CreateDatabase [] [src]

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

Creates a new database.

Note: creating a new database is only possible from within the _system database.

Methods

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

[src]

Constructs a new CreateDatabase method with the parameters specified in the given NewDatabase struct.

[src]

Constructs a new CreateDatabase method with the given name used as the name of the database that is going to be created.

All other parameters are left to their defaults.

[src]

Constructs a new CreateDatabase method with the given name used as the name of the database that is going to be created and assigns it to the given users.

All other parameters are left to their defaults.

[src]

Returns the NewDatabase parameters of this CreateDatabase method.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<E: Clone> Clone for CreateDatabase<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 CreateDatabase<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 CreateDatabase<E> where
    E: UserExtra
[src]

The type of the result of a method call.

RETURN_TYPE: RpcReturnType = RpcReturnType{result_field: Some(FIELD_RESULT), 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 CreateDatabase<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 CreateDatabase<E> where
    E: Send

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