pub struct ViewerCan {
pub viewer_can: bool,
}
Fields§
§viewer_can: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViewerCan
impl<'de> Deserialize<'de> for ViewerCan
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 ViewerCan
impl QueryFragment for ViewerCan
Source§type SchemaType = Query
type SchemaType = Query
The type in a schema that this
QueryFragment
representsSource§type VariablesFields = ViewerCanVariablesFields
type VariablesFields = ViewerCanVariablesFields
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 ViewerCan
impl RefUnwindSafe for ViewerCan
impl Send for ViewerCan
impl Sync for ViewerCan
impl Unpin for ViewerCan
impl UnwindSafe for ViewerCan
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