Struct cdrs::types::value::Value [] [src]

pub struct Value {
    pub body: Vec<u8>,
    pub value_type: ValueType,
}

Cassandra value which could be an array of bytes, null and non-set values.

Fields

Methods

impl Value
[src]

The factory method which creates a normal type value basing on provided bytes.

The factory method which creates null Cassandra value.

The factory method which creates non-set Cassandra value.

Trait Implementations

impl Debug for Value
[src]

Formats the value using the given formatter.

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl IntoBytes for Value
[src]

It should convert a struct into an array of bytes.