[][src]Struct sn0int::models::NewUrlOwned

pub struct NewUrlOwned {
    pub subdomain_id: i32,
    pub value: String,
    pub path: String,
    pub status: Option<i32>,
    pub body: Option<Vec<u8>>,
    pub online: Option<bool>,
    pub title: Option<String>,
    pub redirect: Option<String>,
}

Fields

subdomain_id: i32value: Stringpath: Stringstatus: Option<i32>body: Option<Vec<u8>>online: Option<bool>title: Option<String>redirect: Option<String>

Trait Implementations

impl Printable<PrintableUrl> for NewUrlOwned
[src]

impl Debug for NewUrlOwned
[src]

impl<'insert> Insertable<table> for NewUrlOwned
[src]

type Values = <(Option<Eq<subdomain_id, i32>>, Option<Eq<value, String>>, Option<Eq<path, String>>, Option<Eq<status, i32>>, Option<Eq<body, Vec<u8>>>, Option<Eq<online, bool>>, Option<Eq<title, String>>, Option<Eq<redirect, String>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

fn insert_into(
    self,
    table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]

Insert self into a given table. Read more

impl<'insert> Insertable<table> for &'insert NewUrlOwned
[src]

type Values = <(Option<Eq<subdomain_id, &'insert i32>>, Option<Eq<value, &'insert String>>, Option<Eq<path, &'insert String>>, Option<Eq<status, &'insert i32>>, Option<Eq<body, &'insert Vec<u8>>>, Option<Eq<online, &'insert bool>>, Option<Eq<title, &'insert String>>, Option<Eq<redirect, &'insert String>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

fn insert_into(
    self,
    table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]

Insert self into a given table. Read more

impl<'insert> UndecoratedInsertRecord<table> for NewUrlOwned
[src]

impl Serialize for NewUrlOwned
[src]

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

Auto Trait Implementations

impl Send for NewUrlOwned

impl Sync for NewUrlOwned

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> IntoSql for T
[src]

fn into_sql<T>(self) -> Self::Expression where
    Self: AsExpression<T>, 
[src]

Convert self to an expression for Diesel's query builder. Read more

fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
    &'a Self: AsExpression<T>, 
[src]

Convert &self to an expression for Diesel's query builder. Read more

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

impl<T> Erased for T