Struct rincon_client::collection::types::BasicCollectionProperties
[−]
[src]
pub struct BasicCollectionProperties { /* fields omitted */ }
This struct holds basic attributes of a collection.
It is returned by the CreateCollection
method.
Methods
impl BasicCollectionProperties
[src]
pub fn id(&self) -> &str
[src]
Returns the id of the collection.
pub fn name(&self) -> &str
[src]
Returns the name of the collection.
pub fn kind(&self) -> CollectionType
[src]
Returns the type of the collection.
pub fn status(&self) -> CollectionStatus
[src]
Returns the status of the collection.
pub fn is_system(&self) -> bool
[src]
Returns whether the collection is a system or regular collection.
pub fn is_wait_for_sync(&self) -> bool
[src]
Returns whether the server waits for sync to the filesystem before sending the response.
pub fn is_volatile(&self) -> bool
[src]
Returns whether this collection is a volatile collection.
Trait Implementations
impl From<BasicCollectionProperties> for Collection
[src]
fn from(basic_properties: BasicCollectionProperties) -> Self
[src]
Performs the conversion.
impl Debug for BasicCollectionProperties
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for BasicCollectionProperties
[src]
fn clone(&self) -> BasicCollectionProperties
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<CollectionProperties> for BasicCollectionProperties
[src]
fn from(properties: CollectionProperties) -> Self
[src]
Performs the conversion.