Struct rincon_client::collection::methods::CreateCollection [] [src]

pub struct CreateCollection { /* fields omitted */ }

Creates a new collection with the given name.

Methods

impl CreateCollection
[src]

[src]

Constructs a new instance of the CreateCollection method with the given NewCollection parameters.

[src]

Constructs a new instance of the CreateCollection method that will create a new collection with the given name and the default collection type. The default collection type is defined by the ArangoDB server.

All other parameters will be set to their default values.

[src]

Constructs a new instance of the CreateCollection method that will create a new documents collection with the given name.

All other parameters will be set to their default values.

[src]

Constructs a new instance of the CreateCollection method that will create a new edge collection with the given name.

All other parameters will be set to their default values.

[src]

Set whether the server shall wait until the new collection has been created at all replications before it returns the response.

[src]

Returns the parameters that are going to be used to create the new collection.

[src]

Returns whether the request will wait until the new collection has been created at all replications.

Trait Implementations

impl Debug for CreateCollection
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for CreateCollection
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for CreateCollection
[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 CreateCollection
[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 Prepare for CreateCollection
[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