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

pub struct DropDatabase { /* fields omitted */ }

Drops the database along with all data stored in it.

Note: dropping a database is only possible from within the _system database. The _system database itself cannot be dropped.

Methods

impl DropDatabase
[src]

[src]

Constructs a new DropDatabase method with the given name of the database to be dropped.

[src]

Constructs a new DropDatabase method with the given name of the database to be dropped.

[src]

Returns the name of the database to be dropped.

Trait Implementations

impl Debug for DropDatabase
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DropDatabase
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DropDatabase
[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 Method for DropDatabase
[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 Prepare for DropDatabase
[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 Send for DropDatabase

impl Sync for DropDatabase