Struct ns_scylla_orm::ColumnsMap
source · pub struct ColumnsMap(/* private fields */);
Implementations§
source§impl ColumnsMap
impl ColumnsMap
pub fn new() -> Self
pub fn with_capacity(capacity: usize) -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn has(&self, key: &str) -> bool
pub fn keys(&self) -> Vec<String>
pub fn get(&self, key: &str) -> Option<&CqlValue>
pub fn iter(&self) -> Iter<'_, String, CqlValue>
pub fn get_as<T: FromCqlVal<Option<CqlValue>>>(&self, key: &str) -> Result<T>
pub fn set_as<T: ToCqlVal>(&mut self, key: &str, val: &T)
pub fn append_map<T: ToCqlVal>(&mut self, map_name: &str, key: &str, val: T)
pub fn fill(&mut self, row: Row, fields: &Vec<String>) -> Result<()>
Trait Implementations§
source§impl Debug for ColumnsMap
impl Debug for ColumnsMap
source§impl Default for ColumnsMap
impl Default for ColumnsMap
source§fn default() -> ColumnsMap
fn default() -> ColumnsMap
Returns the “default value” for a type. Read more
source§impl PartialEq for ColumnsMap
impl PartialEq for ColumnsMap
source§fn eq(&self, other: &ColumnsMap) -> bool
fn eq(&self, other: &ColumnsMap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ColumnsMap
Auto Trait Implementations§
impl RefUnwindSafe for ColumnsMap
impl Send for ColumnsMap
impl Sync for ColumnsMap
impl Unpin for ColumnsMap
impl UnwindSafe for ColumnsMap
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