Struct rincon_client::collection::types::CollectionRevision
[−]
[src]
pub struct CollectionRevision { /* fields omitted */ }
This struct holds the revision of a collection together with some basic attributes.
It is returned by the GetCollectionRevision
method.
Methods
impl CollectionRevision
[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 revision(&self) -> &str
[src]
Returns the revision of the collection.
Trait Implementations
impl From<CollectionRevision> for Collection
[src]
fn from(properties: CollectionRevision) -> Self
[src]
Performs the conversion.
impl Debug for CollectionRevision
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CollectionRevision
[src]
fn clone(&self) -> CollectionRevision
[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