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

pub struct ChangeCollectionProperties { /* fields omitted */ }

Change the properties of a collection identified by name.

With this method only the properties wait_for_sync, journal_size (for MMFiles DB) can be changed.

To change the name of a collection, rename the collection using the RenameCollection method.

All other collection properties can not be changed once the collection is created.

Methods

impl ChangeCollectionProperties
[src]

[src]

Constructs a new instance of the ChangeCollectionProperties method.

The name parameter must contain the name of the collection for which the properties shall be changed. The updates parameter contains the actual changes that shall be applied.

[src]

Returns the name of the collection for which the properties shall be changed.

[src]

Returns the updates that shall be applied to the collection's properties.

Trait Implementations

impl Debug for ChangeCollectionProperties
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for ChangeCollectionProperties
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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