Struct cassandra_cpp::Uuid
[−]
[src]
pub struct Uuid(_);
Version 1 (time-based) or version 4 (random) UUID.
Methods
impl Uuid[src]
fn min_from_time(&mut self, time: u64)
Generates a V1 (time) UUID for the specified time.
fn max_from_time(&mut self, time: u64)
Sets the UUID to the minimum V1 (time) value for the specified tim
fn timestamp(&self) -> u64
Gets the timestamp for a V1 UUID
fn version(&self) -> u8
Gets the version for a UUID
Trait Implementations
impl Copy for Uuid[src]
impl Clone for Uuid[src]
fn clone(&self) -> Uuid
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Default for Uuid[src]
impl Debug for Uuid[src]
impl Display for Uuid[src]
impl FromStr for Uuid[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(str: &str) -> Result<Uuid>
Parses a string s to return a value of this type. Read more
impl PartialEq for Uuid[src]
fn eq(&self, other: &Uuid) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for Uuid[src]
impl Ord for Uuid[src]
fn cmp(&self, other: &Uuid) -> Ordering
This method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self
ord_max_min)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
ord_max_min)Compares and returns the minimum of two values. Read more
impl PartialOrd for Uuid[src]
fn partial_cmp(&self, other: &Uuid) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more