[][src]Struct pipitor::models::NewTweet

pub struct NewTweet<'a> {
    pub id: i64,
    pub text: &'a str,
    pub user_id: i64,
    pub in_reply_to_status_id: Option<i64>,
    pub quoted_status_id: Option<i64>,
}

Fields

id: i64text: &'a struser_id: i64in_reply_to_status_id: Option<i64>quoted_status_id: Option<i64>

Trait Implementations

impl<'a> From<&'a Tweet> for NewTweet<'a>[src]

impl<'a> Clone for NewTweet<'a>[src]

impl<'a> Debug for NewTweet<'a>[src]

impl<'a, 'insert> Insertable<table> for NewTweet<'a>[src]

type Values = <(Option<Eq<id, i64>>, Option<Eq<text, &'a str>>, Option<Eq<user_id, i64>>, Option<Eq<in_reply_to_status_id, i64>>, Option<Eq<quoted_status_id, i64>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl<'a, 'insert> Insertable<table> for &'insert NewTweet<'a>[src]

type Values = <(Option<Eq<id, &'insert i64>>, Option<Eq<text, &'insert &'a str>>, Option<Eq<user_id, &'insert i64>>, Option<Eq<in_reply_to_status_id, &'insert i64>>, Option<Eq<quoted_status_id, &'insert i64>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl<'a, 'insert> UndecoratedInsertRecord<table> for NewTweet<'a>[src]

Auto Trait Implementations

impl<'a> Send for NewTweet<'a>

impl<'a> Sync for NewTweet<'a>

impl<'a> Unpin for NewTweet<'a>

impl<'a> UnwindSafe for NewTweet<'a>

impl<'a> RefUnwindSafe for NewTweet<'a>

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> IntoSql for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self