[−][src]Struct asta_jobboerse_api::models::Post
Leaving out the GMT versions in this as they tend to have bogus values on unreleased posts
Trait Implementations
impl<'a> From<&'a Post> for PostResponse
[src]
impl<'a> From<&'a Post> for PostResponse
fn from(post: &'a Post) -> PostResponse
[src]
fn from(post: &'a Post) -> PostResponse
Performs the conversion.
impl Debug for Post
[src]
impl Debug for Post
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'ident> Identifiable for &'ident Post
[src]
impl<'ident> Identifiable for &'ident Post
type Id = ()
The type of this struct's identifier. Read more
fn id(self) -> Self::Id
[src]
fn id(self) -> Self::Id
Returns the identifier for this record. Read more
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Post where
(u32, u32, NaiveDateTime, String, String, String, String, String, String, String, String, String, String, NaiveDateTime, String, u32, String, i32, String, String, i32): Queryable<__ST, __DB>,
[src]
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Post where
(u32, u32, NaiveDateTime, String, String, String, String, String, String, String, String, String, String, NaiveDateTime, String, u32, String, i32, String, String, i32): Queryable<__ST, __DB>,
type Row = <(u32, u32, NaiveDateTime, String, String, String, String, String, String, String, String, String, String, NaiveDateTime, String, u32, String, i32, String, String, i32) as Queryable<__ST, __DB>>::Row
The Rust type you'd like to map from. Read more
fn build(row: Self::Row) -> Self
[src]
fn build(row: Self::Row) -> Self
Construct an instance of this type
impl HasTable for Post
[src]
impl HasTable for Post
type Table = table
The table this type is associated with.
fn table() -> Self::Table
[src]
fn table() -> Self::Table
Returns the table this type is associated with.
impl Serialize for Post
[src]
impl Serialize for Post
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T> IntoSql for T
[src]
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
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]
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel's query builder. Read more