pub struct Chapter {
pub _id: Option<String>,
pub schemaVersion: Option<f64>,
pub createdAt: Option<DateTime<Utc>>,
pub title: Option<String>,
pub posts: Option<Vec<Option<Post>>>,
}
Fields§
§_id: Option<String>
§schemaVersion: Option<f64>
§createdAt: Option<DateTime<Utc>>
§title: Option<String>
§posts: Option<Vec<Option<Post>>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Chapter
impl<'de> Deserialize<'de> for Chapter
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 Chapter
impl QueryFragment for Chapter
Source§type SchemaType = Chapter
type SchemaType = Chapter
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 Chapter
impl RefUnwindSafe for Chapter
impl Send for Chapter
impl Sync for Chapter
impl Unpin for Chapter
impl UnwindSafe for Chapter
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