pub struct Content {Show 15 fields
pub id: i64,
pub slug: String,
pub title: String,
pub content_type: ContentType,
pub body_markdown: String,
pub body_html: String,
pub excerpt: Option<String>,
pub featured_image: Option<String>,
pub status: ContentStatus,
pub scheduled_at: Option<String>,
pub published_at: Option<String>,
pub author_id: Option<i64>,
pub metadata: Value,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: i64§slug: String§title: String§content_type: ContentType§body_markdown: String§body_html: String§excerpt: Option<String>§featured_image: Option<String>§status: ContentStatus§scheduled_at: Option<String>§published_at: Option<String>§metadata: Value§created_at: String§updated_at: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Content
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnsafeUnpin for Content
impl UnwindSafe for Content
Blanket Implementations§
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more