Struct rincon_client::collection::types::CollectionProperties [] [src]

pub struct CollectionProperties { /* fields omitted */ }

This struct holds the properties of a collection.

It is returned by the GetCollectionProperties method.

Methods

impl CollectionProperties
[src]

[src]

Returns the id of the collection.

[src]

Returns the name of the collection.

[src]

Returns the type of the collection.

[src]

Returns the status of the collection.

[src]

Returns whether the collection is a system or regular collection.

[src]

Returns the key options of the collection.

[src]

Returns whether the server waits for sync to the filesystem before sending the response.

[src]

Returns the number of shards for this collection.

[src]

Returns the keys to determine the shard for a collection.

[src]

Returns the number of copies that are kept of each shard.

[src]

Returns whether this collection is a volatile collection.

[src]

Returns whether this collection is compacted.

[src]

Returns the number of buckets into which indexes using a hash table are split.

[src]

Returns the maximal size of a journal or datafile in bytes.

Trait Implementations

impl From<CollectionProperties> for Collection
[src]

[src]

Performs the conversion.

impl From<CollectionProperties> for BasicCollectionProperties
[src]

[src]

Performs the conversion.

impl Debug for CollectionProperties
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for CollectionProperties
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations