Struct rincon_client::collection::types::KeyOptions
[−]
[src]
pub struct KeyOptions { /* fields omitted */ }
This struct holds the key related properties.
Methods
impl KeyOptions
[src]
pub fn is_allow_user_keys(&self) -> bool
[src]
Returns whether the collection allows user supplied key values.
pub fn kind(&self) -> KeyGeneratorType
[src]
Returns the type of the key generator.
pub fn last_value(&self) -> u64
[src]
Returns the last value assigned by the key generator.
Trait Implementations
impl Debug for KeyOptions
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for KeyOptions
[src]
fn clone(&self) -> KeyOptions
[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