Struct cassandra_cpp::Value
source · pub struct Value(_);
Expand description
A single primitive value or a collection of values.
Implementations§
source§impl Value
impl Value
sourcepub fn is_collection(&self) -> bool
pub fn is_collection(&self) -> bool
Returns true if a specified value is a collection.
sourcepub fn get_set(&self) -> Result<SetIterator>
pub fn get_set(&self) -> Result<SetIterator>
Gets this value as a set iterator.
sourcepub fn get_map(&self) -> Result<MapIterator>
pub fn get_map(&self) -> Result<MapIterator>
Gets this value as a map iterator.
sourcepub fn get_user_type(&self) -> Result<UserTypeIterator>
pub fn get_user_type(&self) -> Result<UserTypeIterator>
Gets an iterator over the fields of the user type in this column or errors if you ask for the wrong type
sourcepub fn get_string(&self) -> Result<String>
pub fn get_string(&self) -> Result<String>
Get this value as a string