pub struct InsertUrl {
pub subdomain_id: i32,
pub value: String,
pub status: Option<i32>,
pub body: Option<StringOrBytes>,
pub online: Option<bool>,
pub title: Option<String>,
pub redirect: Option<String>,
}
Fields§
§subdomain_id: i32
§value: String
§status: Option<i32>
§body: Option<StringOrBytes>
§online: Option<bool>
§title: Option<String>
§redirect: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for InsertUrl
impl<'de> Deserialize<'de> for InsertUrl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl InsertToNew for InsertUrl
impl InsertToNew for InsertUrl
Auto Trait Implementations§
impl Freeze for InsertUrl
impl RefUnwindSafe for InsertUrl
impl Send for InsertUrl
impl Sync for InsertUrl
impl Unpin for InsertUrl
impl UnwindSafe for InsertUrl
Blanket Implementations§
source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
source§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more