pub struct Post {Show 15 fields
pub _id: Option<String>,
pub schemaVersion: Option<f64>,
pub createdAt: Option<DateTime<Utc>>,
pub postedAt: Option<DateTime<Utc>>,
pub modifiedAt: Option<DateTime<Utc>>,
pub title: Option<String>,
pub status: Option<f64>,
pub userId: Option<String>,
pub user: Option<User>,
pub socialPreviewImageAutoUrl: Option<String>,
pub eventImageId: Option<String>,
pub sequence: Option<PostSequence>,
pub fmCrosspost: Option<FMCrossPost>,
pub htmlBody: Option<String>,
pub tableOfContents: Option<TableOfContents>,
}
Fields§
§_id: Option<String>
§schemaVersion: Option<f64>
§createdAt: Option<DateTime<Utc>>
§postedAt: Option<DateTime<Utc>>
§modifiedAt: Option<DateTime<Utc>>
§title: Option<String>
§status: Option<f64>
§userId: Option<String>
§user: Option<User>
§eventImageId: Option<String>
§sequence: Option<PostSequence>
§fmCrosspost: Option<FMCrossPost>
§htmlBody: Option<String>
§tableOfContents: Option<TableOfContents>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Post
impl<'de> Deserialize<'de> for Post
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 QueryFragment for Post
impl QueryFragment for Post
Source§type SchemaType = Post
type SchemaType = Post
The type in a schema that this
QueryFragment
representsSource§type VariablesFields = ()
type VariablesFields = ()
The variables that are required to execute this
QueryFragment
Source§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
Adds this fragment to the query being built by
builder
Auto Trait Implementations§
impl Freeze for Post
impl RefUnwindSafe for Post
impl Send for Post
impl Sync for Post
impl Unpin for Post
impl UnwindSafe for Post
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