[−][src]Struct cassandra_cpp::Uuid
Version 1 (time-based) or version 4 (random) UUID.
Implementations
impl Uuid
[src]
pub fn min_from_time(&mut self, time: u64)
[src]
Generates a V1 (time) UUID for the specified time.
pub fn max_from_time(&mut self, time: u64)
[src]
Sets the UUID to the minimum V1 (time) value for the specified tim
pub fn timestamp(&self) -> u64
[src]
Gets the timestamp for a V1 UUID
pub fn version(&self) -> u8
[src]
Gets the version for a UUID
Trait Implementations
impl AsRustType<Uuid> for Row
[src]
fn get(&self, index: usize) -> Result<Uuid>
[src]
fn get_by_name<S>(&self, name: S) -> Result<Uuid> where
S: Into<String>,
[src]
S: Into<String>,
impl BindRustType<Uuid> for Statement
[src]
fn bind(&mut self, index: usize, value: Uuid) -> Result<&mut Self>
[src]
fn bind_by_name(&mut self, col: &str, value: Uuid) -> Result<&mut Self>
[src]
impl Clone for Uuid
[src]
impl Copy for Uuid
[src]
impl Debug for Uuid
[src]
impl Default for Uuid
[src]
impl Display for Uuid
[src]
impl Eq for Uuid
[src]
impl From<Uuid> for Uuid
[src]
impl From<Uuid> 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>
[src]
impl Ord for Uuid
[src]
fn cmp(&self, other: &Uuid) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Uuid> for Uuid
[src]
impl PartialOrd<Uuid> for Uuid
[src]
Auto Trait Implementations
impl RefUnwindSafe for Uuid
impl Send for Uuid
impl Sync for Uuid
impl Unpin for Uuid
impl UnwindSafe for Uuid
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,