[][src]Struct rql::Row

pub struct Row<'a, T> {
    pub id: Id<T>,
    pub data: &'a T,
}

A row in a Table

Fields

id: Id<T>

The Row's id

data: &'a T

The Row's data

Methods

impl<'a, T> Row<'a, T> where
    T: Clone
[src]

pub fn cloned(self) -> OwnedRow<T>[src]

Clone the Row's data into an OwnedRow

Trait Implementations

impl<'a, T> AsRef<T> for Row<'a, T>[src]

impl<'a, T> Clone for Row<'a, T>[src]

impl<'a, T> Copy for Row<'a, T>[src]

impl<'a, T> Debug for Row<'a, T> where
    T: Debug
[src]

impl<'a, T> Deref for Row<'a, T>[src]

type Target = T

The resulting type after dereferencing.

impl<'a, T> Display for Row<'a, T> where
    T: Display
[src]

impl<'a, T> Eq for Row<'a, T> where
    T: Eq
[src]

impl<'a, T> Idd for Row<'a, T>[src]

type RowType = T

The type of the row

impl<'a, T, U> PartialEq<Row<'a, U>> for Row<'a, T> where
    T: PartialEq<U>, 
[src]

impl<'a, T, U> PartialEq<Row<'a, U>> for RowMut<'a, T> where
    T: PartialEq<U>, 
[src]

impl<'a, T, U> PartialEq<Row<'a, U>> for OwnedRow<T> where
    T: PartialEq<U>, 
[src]

impl<'a, T, U> PartialEq<RowMut<'a, U>> for Row<'a, T> where
    T: PartialEq<U>, 
[src]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for Row<'a, T> where
    T: RefUnwindSafe

impl<'a, T> Send for Row<'a, T> where
    T: Send + Sync

impl<'a, T> Sync for Row<'a, T> where
    T: Sync

impl<'a, T> Unpin for Row<'a, T> where
    T: Unpin

impl<'a, T> UnwindSafe for Row<'a, T> where
    T: RefUnwindSafe + UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,