Struct cdrs::frame::frame_result::ColTypeOption [−][src]
pub struct ColTypeOption { pub id: ColType, pub value: Option<ColTypeOptionValue>, }
Cassandra option that represent column type.
Fields
id: ColType
Id 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
impl Debug for ColTypeOption
[src]
impl Debug for ColTypeOption
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ColTypeOption
[src]
impl Clone for ColTypeOption
fn clone(&self) -> ColTypeOption
[src]
fn clone(&self) -> ColTypeOption
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl FromCursor for ColTypeOption
[src]
impl FromCursor for ColTypeOption
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<ColTypeOption>
[src]
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 Send for ColTypeOption
impl Send for ColTypeOption
impl Sync for ColTypeOption
impl Sync for ColTypeOption