pub struct Value {
pub body: Vec<u8>,
pub value_type: ValueType,
}Expand description
Cassandra value which could be an array of bytes, null and non-set values.
Fields§
§body: Vec<u8>§value_type: ValueTypeImplementations§
Source§impl Value
impl Value
Sourcepub fn new_normal<B>(v: B) -> Value
pub fn new_normal<B>(v: B) -> Value
The factory method which creates a normal type value basing on provided bytes.
Sourcepub fn new_not_set() -> Value
pub fn new_not_set() -> Value
The factory method which creates non-set Cassandra value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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