pub struct ColTypeOption {
pub id: ColType,
pub value: Option<ColTypeOptionValue>,
}Expand description
Cassandra option that represent column type.
Fields§
§id: ColTypeId refers to ColType.
value: Option<ColTypeOptionValue>Values depending on column type. [Read more…] (https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec#L569)
Trait Implementations§
Source§impl Clone for ColTypeOption
impl Clone for ColTypeOption
Source§fn clone(&self) -> ColTypeOption
fn clone(&self) -> ColTypeOption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColTypeOption
impl Debug for ColTypeOption
Source§impl FromCursor for ColTypeOption
impl FromCursor for ColTypeOption
Source§fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<ColTypeOption>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<ColTypeOption>
It should return an implementor from an
io::Cursor over an array of bytes.Auto Trait Implementations§
impl Freeze for ColTypeOption
impl RefUnwindSafe for ColTypeOption
impl Send for ColTypeOption
impl Sync for ColTypeOption
impl Unpin for ColTypeOption
impl UnwindSafe for ColTypeOption
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