Struct sn0int::models::AccountUpdate[][src]

pub struct AccountUpdate {
    pub id: i32,
    pub displayname: Option<String>,
    pub email: Option<String>,
    pub url: Option<String>,
    pub last_seen: Option<NaiveDateTime>,
    pub birthday: Option<String>,
    pub phonenumber: Option<String>,
    pub profile_pic: Option<String>,
}

Fields

id: i32displayname: Option<String>email: Option<String>url: Option<String>last_seen: Option<NaiveDateTime>birthday: Option<String>phonenumber: Option<String>profile_pic: Option<String>

Trait Implementations

impl<'update> AsChangeset for &'update AccountUpdate[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Option<Eq<displayname, &'update String>>, Option<Eq<email, &'update String>>, Option<Eq<url, &'update String>>, Option<Eq<last_seen, &'update NaiveDateTime>>, Option<Eq<birthday, &'update String>>, Option<Eq<phonenumber, &'update String>>, Option<Eq<profile_pic, &'update String>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for AccountUpdate[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Option<Eq<displayname, String>>, Option<Eq<email, String>>, Option<Eq<url, String>>, Option<Eq<last_seen, NaiveDateTime>>, Option<Eq<birthday, String>>, Option<Eq<phonenumber, String>>, Option<Eq<profile_pic, String>>) as AsChangeset>::Changeset

The update statement this type represents

impl Debug for AccountUpdate[src]

impl<'de> Deserialize<'de> for AccountUpdate[src]

impl HasTable for AccountUpdate[src]

type Table = table

The table this type is associated with.

impl<'ident> Identifiable for &'ident AccountUpdate[src]

type Id = &'ident i32

The type of this struct’s identifier. Read more

impl Serialize for AccountUpdate[src]

impl Updateable<Account> for AccountUpdate[src]

impl Upsert for AccountUpdate[src]

Auto Trait Implementations

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> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> FmtForward for T

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

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

impl<T> IntoSql for T[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

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>,