[−][src]Struct pipitor::models::NewTweet
Fields
id: i64
text: &'a str
user_id: i64
in_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
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
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
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self