Expand description
Newtype for mysql database row This allows to implement the conversion traits for basic data without violating the orphan rule.
Tuple Fields
0: Vec<SqlArg>
Trait Implementations
sourceimpl FromRow<Row, ToqlError> for String
impl FromRow<Row, ToqlError> for String
sourcefn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
fn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
Returns the number of selects This is needed to advance the iterator and the row index. The Deserializer needs this information to skip left joins that have fields selected but are null. Those left joins cause select information in the select stream that must be skipped. Read more
sourcefn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<String>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
fn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<String>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
Read row values into struct, starting from index. Advances iter and index Returns None for value unselected values or joined entities that have null keys. Return Error, if value is selected, but cannot be converted. Read more
sourceimpl FromRow<Row, ToqlError> for u8
impl FromRow<Row, ToqlError> for u8
sourcefn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
fn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
Returns the number of selects This is needed to advance the iterator and the row index. The Deserializer needs this information to skip left joins that have fields selected but are null. Those left joins cause select information in the select stream that must be skipped. Read more
sourcefn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<u8>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
fn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<u8>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
Read row values into struct, starting from index. Advances iter and index Returns None for value unselected values or joined entities that have null keys. Return Error, if value is selected, but cannot be converted. Read more
sourceimpl FromRow<Row, ToqlError> for bool
impl FromRow<Row, ToqlError> for bool
sourcefn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
fn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
Returns the number of selects This is needed to advance the iterator and the row index. The Deserializer needs this information to skip left joins that have fields selected but are null. Those left joins cause select information in the select stream that must be skipped. Read more
sourcefn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<bool>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
fn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<bool>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
Read row values into struct, starting from index. Advances iter and index Returns None for value unselected values or joined entities that have null keys. Return Error, if value is selected, but cannot be converted. Read more
sourceimpl FromRow<Row, ToqlError> for u16
impl FromRow<Row, ToqlError> for u16
sourcefn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
fn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
Returns the number of selects This is needed to advance the iterator and the row index. The Deserializer needs this information to skip left joins that have fields selected but are null. Those left joins cause select information in the select stream that must be skipped. Read more
sourcefn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<u16>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
fn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<u16>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
Read row values into struct, starting from index. Advances iter and index Returns None for value unselected values or joined entities that have null keys. Return Error, if value is selected, but cannot be converted. Read more
sourceimpl FromRow<Row, ToqlError> for u32
impl FromRow<Row, ToqlError> for u32
sourcefn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
fn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
Returns the number of selects This is needed to advance the iterator and the row index. The Deserializer needs this information to skip left joins that have fields selected but are null. Those left joins cause select information in the select stream that must be skipped. Read more
sourcefn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<u32>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
fn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<u32>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
Read row values into struct, starting from index. Advances iter and index Returns None for value unselected values or joined entities that have null keys. Return Error, if value is selected, but cannot be converted. Read more
sourceimpl FromRow<Row, ToqlError> for u64
impl FromRow<Row, ToqlError> for u64
sourcefn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
fn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
Returns the number of selects This is needed to advance the iterator and the row index. The Deserializer needs this information to skip left joins that have fields selected but are null. Those left joins cause select information in the select stream that must be skipped. Read more
sourcefn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<u64>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
fn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<u64>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
Read row values into struct, starting from index. Advances iter and index Returns None for value unselected values or joined entities that have null keys. Return Error, if value is selected, but cannot be converted. Read more
sourceimpl FromRow<Row, ToqlError> for i8
impl FromRow<Row, ToqlError> for i8
sourcefn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
fn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
Returns the number of selects This is needed to advance the iterator and the row index. The Deserializer needs this information to skip left joins that have fields selected but are null. Those left joins cause select information in the select stream that must be skipped. Read more
sourcefn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<i8>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
fn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<i8>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
Read row values into struct, starting from index. Advances iter and index Returns None for value unselected values or joined entities that have null keys. Return Error, if value is selected, but cannot be converted. Read more
sourceimpl FromRow<Row, ToqlError> for i16
impl FromRow<Row, ToqlError> for i16
sourcefn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
fn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
Returns the number of selects This is needed to advance the iterator and the row index. The Deserializer needs this information to skip left joins that have fields selected but are null. Those left joins cause select information in the select stream that must be skipped. Read more
sourcefn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<i16>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
fn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<i16>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
Read row values into struct, starting from index. Advances iter and index Returns None for value unselected values or joined entities that have null keys. Return Error, if value is selected, but cannot be converted. Read more
sourceimpl FromRow<Row, ToqlError> for i32
impl FromRow<Row, ToqlError> for i32
sourcefn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
fn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
Returns the number of selects This is needed to advance the iterator and the row index. The Deserializer needs this information to skip left joins that have fields selected but are null. Those left joins cause select information in the select stream that must be skipped. Read more
sourcefn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<i32>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
fn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<i32>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
Read row values into struct, starting from index. Advances iter and index Returns None for value unselected values or joined entities that have null keys. Return Error, if value is selected, but cannot be converted. Read more
sourceimpl FromRow<Row, ToqlError> for i64
impl FromRow<Row, ToqlError> for i64
sourcefn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
fn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
Returns the number of selects This is needed to advance the iterator and the row index. The Deserializer needs this information to skip left joins that have fields selected but are null. Those left joins cause select information in the select stream that must be skipped. Read more
sourcefn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<i64>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
fn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<i64>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
Read row values into struct, starting from index. Advances iter and index Returns None for value unselected values or joined entities that have null keys. Return Error, if value is selected, but cannot be converted. Read more
sourceimpl FromRow<Row, ToqlError> for f64
impl FromRow<Row, ToqlError> for f64
sourcefn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
fn forward<'a, I>(iter: &mut I) -> Result<usize, ToqlError> where
I: Iterator<Item = &'a Select>,
Returns the number of selects This is needed to advance the iterator and the row index. The Deserializer needs this information to skip left joins that have fields selected but are null. Those left joins cause select information in the select stream that must be skipped. Read more
sourcefn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<f64>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
fn from_row<'a, I>(
row: &Row,
i: &mut usize,
iter: &mut I
) -> Result<Option<f64>, ToqlError> where
I: Iterator<Item = &'a Select> + Clone,
Read row values into struct, starting from index. Advances iter and index Returns None for value unselected values or joined entities that have null keys. Return Error, if value is selected, but cannot be converted. 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more