Struct Discussion

Source
pub struct Discussion;

Trait Implementations§

Source§

impl HasField<__typename> for Discussion

Source§

type Type = String

The schema marker type of this field.
Source§

impl HasField<activeLockReason> for Discussion

Source§

type Type = Option<LockReason>

The schema marker type of this field.
Source§

impl HasField<answer> for Discussion

Source§

type Type = Option<DiscussionComment>

The schema marker type of this field.
Source§

impl HasField<answerChosenAt> for Discussion

Source§

type Type = Option<DateTime>

The schema marker type of this field.
Source§

impl HasField<answerChosenBy> for Discussion

Source§

type Type = Option<Actor>

The schema marker type of this field.
Source§

impl HasField<author> for Discussion

Source§

type Type = Option<Actor>

The schema marker type of this field.
Source§

impl HasField<authorAssociation> for Discussion

Source§

type Type = CommentAuthorAssociation

The schema marker type of this field.
Source§

impl HasField<body> for Discussion

Source§

type Type = String

The schema marker type of this field.
Source§

impl HasField<bodyHTML> for Discussion

Source§

type Type = HTML

The schema marker type of this field.
Source§

impl HasField<bodyText> for Discussion

Source§

type Type = String

The schema marker type of this field.
Source§

impl HasField<category> for Discussion

Source§

type Type = DiscussionCategory

The schema marker type of this field.
Source§

impl HasField<closed> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<closedAt> for Discussion

Source§

type Type = Option<DateTime>

The schema marker type of this field.
Source§

impl HasField<comments> for Discussion

Source§

type Type = DiscussionCommentConnection

The schema marker type of this field.
Source§

impl HasField<createdAt> for Discussion

Source§

type Type = DateTime

The schema marker type of this field.
Source§

impl HasField<createdViaEmail> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<databaseId> for Discussion

Source§

type Type = Option<i32>

The schema marker type of this field.
Source§

impl HasField<editor> for Discussion

Source§

type Type = Option<Actor>

The schema marker type of this field.
Source§

impl HasField<id> for Discussion

Source§

type Type = Id

The schema marker type of this field.
Source§

impl HasField<includesCreatedEdit> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<labels> for Discussion

Source§

type Type = Option<LabelConnection>

The schema marker type of this field.
Source§

impl HasField<lastEditedAt> for Discussion

Source§

type Type = Option<DateTime>

The schema marker type of this field.
Source§

impl HasField<locked> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<number> for Discussion

Source§

type Type = i32

The schema marker type of this field.
Source§

impl HasField<poll> for Discussion

Source§

type Type = Option<DiscussionPoll>

The schema marker type of this field.
Source§

impl HasField<publishedAt> for Discussion

Source§

type Type = Option<DateTime>

The schema marker type of this field.
Source§

impl HasField<reactionGroups> for Discussion

Source§

type Type = Option<Vec<ReactionGroup>>

The schema marker type of this field.
Source§

impl HasField<reactions> for Discussion

Source§

type Type = ReactionConnection

The schema marker type of this field.
Source§

impl HasField<repository> for Discussion

Source§

type Type = Repository

The schema marker type of this field.
Source§

impl HasField<resourcePath> for Discussion

Source§

type Type = URI

The schema marker type of this field.
Source§

impl HasField<stateReason> for Discussion

Source§

type Type = Option<DiscussionStateReason>

The schema marker type of this field.
Source§

impl HasField<title> for Discussion

Source§

type Type = String

The schema marker type of this field.
Source§

impl HasField<updatedAt> for Discussion

Source§

type Type = DateTime

The schema marker type of this field.
Source§

impl HasField<upvoteCount> for Discussion

Source§

type Type = i32

The schema marker type of this field.
Source§

impl HasField<url> for Discussion

Source§

type Type = URI

The schema marker type of this field.
Source§

impl HasField<userContentEdits> for Discussion

Source§

type Type = Option<UserContentEditConnection>

The schema marker type of this field.
Source§

impl HasField<viewerCanClose> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<viewerCanDelete> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<viewerCanReact> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<viewerCanReopen> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<viewerCanSubscribe> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<viewerCanUpdate> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<viewerCanUpvote> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<viewerDidAuthor> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<viewerHasUpvoted> for Discussion

Source§

type Type = bool

The schema marker type of this field.
Source§

impl HasField<viewerSubscription> for Discussion

Source§

type Type = Option<SubscriptionState>

The schema marker type of this field.
Source§

impl NamedType for Discussion

Source§

const NAME: &'static str = "Discussion"

The name of this type
Source§

impl HasSubtype<Discussion> for Closable

Source§

impl HasSubtype<Discussion> for Comment

Source§

impl HasSubtype<Discussion> for Deletable

Source§

impl HasSubtype<Discussion> for Labelable

Source§

impl HasSubtype<Discussion> for Lockable

Source§

impl HasSubtype<Discussion> for Node

Source§

impl HasSubtype<Discussion> for Reactable

Source§

impl HasSubtype<Discussion> for RepositoryNode

Source§

impl HasSubtype<Discussion> for SearchResultItem

Source§

impl HasSubtype<Discussion> for Subscribable

Source§

impl HasSubtype<Discussion> for Updatable

Source§

impl HasSubtype<Discussion> for Votable

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> IsFieldType<T> for T