Struct cdrs::frame::frame_result::ColTypeOption
source · pub struct ColTypeOption {
pub id: ColType,
pub value: Option<ColTypeOptionValue>,
}
Expand description
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§
source§impl Clone for ColTypeOption
impl Clone for ColTypeOption
source§fn clone(&self) -> ColTypeOption
fn clone(&self) -> ColTypeOption
Returns a copy 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.