Struct rincon_session::client::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]
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 key_options(&self) -> &KeyOptions
[src]
Returns the key options of the collection.
pub fn is_wait_for_sync(&self) -> bool
[src]
Returns whether the server waits for sync to the filesystem before sending the response.
Trait Implementations
impl<'de> Deserialize<'de> for CollectionProperties
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<CollectionProperties, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<CollectionProperties, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl From<CollectionProperties> for BasicCollectionProperties
[src]
fn from(properties: CollectionProperties) -> BasicCollectionProperties
[src]
Performs the conversion.
impl From<CollectionProperties> for Collection
[src]
fn from(properties: CollectionProperties) -> Collection
[src]
Performs the conversion.
impl Clone for CollectionProperties
[src]
fn clone(&self) -> CollectionProperties
[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