Struct sqlsync_reducer::types::Row
source · pub struct Row(/* private fields */);Implementations§
source§impl Row
impl Row
pub fn get<'a, T>(&'a self, idx: usize) -> Result<T, ReducerError>where T: TryFrom<&'a SqliteValue, Error = ReducerError>,
pub fn maybe_get<'a, T>(&'a self, idx: usize) -> Result<Option<T>, ReducerError>where T: TryFrom<&'a SqliteValue, Error = ReducerError>,
pub fn get_value(&self, idx: usize) -> &SqliteValue
Trait Implementations§
source§impl<'de> Deserialize<'de> for Row
impl<'de> Deserialize<'de> for Row
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Vec<SqliteValue>> for Row
impl From<Vec<SqliteValue>> for Row
source§fn from(v: Vec<SqliteValue>) -> Self
fn from(v: Vec<SqliteValue>) -> Self
Converts to this type from the input type.
source§impl FromIterator<SqliteValue> for Row
impl FromIterator<SqliteValue> for Row
source§fn from_iter<T: IntoIterator<Item = SqliteValue>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = SqliteValue>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnwindSafe for Row
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