pub struct Sequence {Show 15 fields
pub _id: Option<String>,
pub schemaVersion: Option<f64>,
pub createdAt: Option<DateTime<Utc>>,
pub lastUpdated: Option<DateTime<Utc>>,
pub userId: Option<String>,
pub user: Option<User>,
pub title: Option<String>,
pub draft: Option<bool>,
pub isDeleted: Option<bool>,
pub hidden: Option<bool>,
pub postsCount: Option<i32>,
pub canonicalCollection: Option<Collection>,
pub bannerImageId: Option<String>,
pub gridImageId: Option<String>,
pub chapters: Option<Vec<Option<Chapter>>>,
}
Fields§
§_id: Option<String>
§schemaVersion: Option<f64>
§createdAt: Option<DateTime<Utc>>
§lastUpdated: Option<DateTime<Utc>>
§userId: Option<String>
§user: Option<User>
§title: Option<String>
§draft: Option<bool>
§isDeleted: Option<bool>
§postsCount: Option<i32>
§canonicalCollection: Option<Collection>
§gridImageId: Option<String>
§chapters: Option<Vec<Option<Chapter>>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sequence
impl<'de> Deserialize<'de> for Sequence
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 Sequence
impl QueryFragment for Sequence
Source§type SchemaType = Sequence
type SchemaType = Sequence
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 Sequence
impl RefUnwindSafe for Sequence
impl Send for Sequence
impl Sync for Sequence
impl Unpin for Sequence
impl UnwindSafe for Sequence
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