pub struct ColumnUuid { /* private fields */ }Expand description
Column for UUID type (stored as two u64 values per row).
Implementations§
Source§impl ColumnUuid
impl ColumnUuid
Sourcepub fn with_data(self, data: Vec<Uuid>) -> Self
pub fn with_data(self, data: Vec<Uuid>) -> Self
Set the column data from a vector of Uuid values.
Sourcepub fn append_from_string(&mut self, s: &str) -> Result<()>
pub fn append_from_string(&mut self, s: &str) -> Result<()>
Append a UUID parsed from a string.
Trait Implementations§
Source§impl Column for ColumnUuid
impl Column for ColumnUuid
Source§fn column_type(&self) -> &Type
fn column_type(&self) -> &Type
Get the type of this column
Source§fn append_column(&mut self, other: ColumnRef) -> Result<()>
fn append_column(&mut self, other: ColumnRef) -> Result<()>
Append another column’s data to this column
Source§fn load_from_buffer(&mut self, buffer: &mut &[u8], rows: usize) -> Result<()>
fn load_from_buffer(&mut self, buffer: &mut &[u8], rows: usize) -> Result<()>
Load column data from byte buffer
Source§fn clone_empty(&self) -> ColumnRef
fn clone_empty(&self) -> ColumnRef
Create an empty clone of this column (same type, no data)
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Downcast to a mutable concrete column type
Auto Trait Implementations§
impl Freeze for ColumnUuid
impl RefUnwindSafe for ColumnUuid
impl Send for ColumnUuid
impl Sync for ColumnUuid
impl Unpin for ColumnUuid
impl UnwindSafe for ColumnUuid
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more