Struct rincon_session::client::Collection [] [src]

pub struct Collection { /* fields omitted */ }

This struct holds attributes of a collection.

It is returned by the GetCollection and ListCollection methods.

Methods

impl Collection
[src]

[src]

Returns the id of this collection.

[src]

Returns the name of this collection.

[src]

Returns the type of this collection.

[src]

Returns the status of this collection.

[src]

Returns whether this collection is a system collection or regular collection.

[src]

Unwraps the id of this collection

[src]

Unwraps the name of this collection.

Trait Implementations

impl<'de> Deserialize<'de> for Collection
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl From<BasicCollectionProperties> for Collection
[src]

[src]

Performs the conversion.

impl From<CollectionRevision> for Collection
[src]

[src]

Performs the conversion.

impl From<CollectionProperties> for Collection
[src]

[src]

Performs the conversion.

impl Clone for Collection
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Collection
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Collection

impl Sync for Collection