Struct ruarango::coll::output::Create

source ·
pub struct Create { /* private fields */ }
Expand description

Output when create is called for a collection

Implementations§

Is this respone an error?

The response code, i.e. 200, 404

The collection name

Whether the collection is used in a SmartGraph (Enterprise Edition only). (cluster only)

Determines an attribute of the collection that must contain the shard key value of the referred-to SmartJoin collection (Enterprise Edition only). (cluster only)

The number of shards of the collection. (cluster only)

Any of: [“unloaded”, “loading”, “loaded”, “unloading”, “deleted”, “unknown”] Only relevant for the MMFiles storage engine

Unique identifier of the collection

unique identifier of the collection; deprecated

Attribute that is used in SmartGraphs (Enterprise Edition only). (cluster only)

Contains how many copies of each shard are kept on different DB-Servers. It is an integer number in the range of 1-10 or the string “satellite” for a SatelliteCollection (Enterprise Edition only). (cluster only)

Whether or not the collection will be compacted. This option is only present for the MMFiles storage engine.

The collection kind

The number of index buckets. Only relevant for the MMFiles storage engine

The collection level schema for documents.

The status

The maximal size setting for journals / datafiles in bytes. This option is only present for the MMFiles storage engine.

If true then creating, changing or removing documents will wait until the data has been synchronized to disk.

true if this is a system collection; usually name will start with an underscore.

the sharding strategy selected for the collection. One of ‘hash’ or ‘enterprise-hash-smart-edge’. (cluster only)

If true then the collection data will be kept in memory only and ArangoDB will not write or sync the data to disk. This option is only present for the MMFiles storage engine.

Determines how many copies of each shard are required to be in sync on the different DB-Servers. If there are less then these many copies in the cluster a shard will refuse to write. Writes to shards with enough up-to-date copies will succeed at the same time however. The value of writeConcern can not be larger than replicationFactor. (cluster only)

Contains the names of document attributes that are used to determine the target shard for documents. (cluster only)

Key Options

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more