pub struct GetCurrentUser {
    pub viewer: Option<User>,
}Fields§
§viewer: Option<User>Trait Implementations§
Source§impl Debug for GetCurrentUser
 
impl Debug for GetCurrentUser
Source§impl<'de> Deserialize<'de> for GetCurrentUser
 
impl<'de> Deserialize<'de> for GetCurrentUser
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 GetCurrentUser
 
impl QueryFragment for GetCurrentUser
Source§type SchemaType = Query
 
type SchemaType = Query
The type in a schema that this 
QueryFragment representsSource§type VariablesFields = ()
 
type VariablesFields = ()
The variables that are required to execute this 
QueryFragmentAuto Trait Implementations§
impl Freeze for GetCurrentUser
impl RefUnwindSafe for GetCurrentUser
impl Send for GetCurrentUser
impl Sync for GetCurrentUser
impl Unpin for GetCurrentUser
impl UnwindSafe for GetCurrentUser
Blanket Implementations§
§impl<T> ArchivePointee for T
 
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
 
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
    _: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
 
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
§impl<T> LayoutRaw for T
 
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
 
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.