Struct sn0int::models::NewUrl[][src]

pub struct NewUrl {
    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>,
    pub unscoped: bool,
}

Fields

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

Trait Implementations

impl AutoRule<NewUrl> for DomainRule[src]

impl AutoRule<NewUrl> for UrlRule[src]

impl Clone for NewUrl[src]

impl Debug for NewUrl[src]

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

impl<'insert> Insertable<table> for NewUrl[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>>, Option<Eq<unscoped, bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl<'insert> Insertable<table> for &'insert NewUrl[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>>, Option<Eq<unscoped, &'insert bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl InsertableStruct<Url> for NewUrl[src]

impl PartialEq<NewUrl> for NewUrl[src]

impl Printable<PrintableUrl> for NewUrl[src]

impl Serialize for NewUrl[src]

impl StructuralPartialEq for NewUrl[src]

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

impl Upsertable<Url> for NewUrl[src]

type Update = UrlChangeset

Auto Trait Implementations

impl RefUnwindSafe for NewUrl

impl Send for NewUrl

impl Sync for NewUrl

impl Unpin for NewUrl

impl UnwindSafe for NewUrl

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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