pub struct SinglePostOutput {
pub result: Option<Post>,
}
Fields§
§result: Option<Post>
Trait Implementations§
Source§impl Clone for SinglePostOutput
impl Clone for SinglePostOutput
Source§fn clone(&self) -> SinglePostOutput
fn clone(&self) -> SinglePostOutput
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SinglePostOutput
impl Debug for SinglePostOutput
Source§impl<'de> Deserialize<'de> for SinglePostOutput
impl<'de> Deserialize<'de> for SinglePostOutput
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 SinglePostOutput
impl QueryFragment for SinglePostOutput
Source§type SchemaType = SinglePostOutput
type SchemaType = SinglePostOutput
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 SinglePostOutput
impl RefUnwindSafe for SinglePostOutput
impl Send for SinglePostOutput
impl Sync for SinglePostOutput
impl Unpin for SinglePostOutput
impl UnwindSafe for SinglePostOutput
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