pub struct CommentPayload {
pub success: bool,
pub comment: Option<Comment>,
}Fields§
§success: bool§comment: Option<Comment>Trait Implementations§
Source§impl Clone for CommentPayload
impl Clone for CommentPayload
Source§fn clone(&self) -> CommentPayload
fn clone(&self) -> CommentPayload
Returns a duplicate 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 CommentPayload
impl Debug for CommentPayload
Source§impl<'de> Deserialize<'de> for CommentPayload
impl<'de> Deserialize<'de> for CommentPayload
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 CommentPayload
impl QueryFragment for CommentPayload
Source§type SchemaType = CommentPayload
type SchemaType = CommentPayload
The type in a schema that this
QueryFragment representsSource§type VariablesFields = ()
type VariablesFields = ()
The variables that are required to execute this
QueryFragmentSource§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
builderAuto Trait Implementations§
impl Freeze for CommentPayload
impl RefUnwindSafe for CommentPayload
impl Send for CommentPayload
impl Sync for CommentPayload
impl Unpin for CommentPayload
impl UnwindSafe for CommentPayload
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