pub struct Notifications<C>where
    C: Clone + Connect + 'static,
{ /* private fields */ }
Expand description

Provides access to notifications. See the github docs for more information.

Implementations

List the authenticated user’s notifications.

See the github docs for more information.

List the authenticated user’s notifications for a repository.

See the github docs for more information.

Mark notifications as read. Default: now

See the github docs for more information.

Mark notifications as read in a repository. Default: now

See github docs for more information.

Return a single thread.

See the github docs for more information.

Mark a thread as read

See the github docs for more information.

Return the subscription information for a thread.

See the github docs for more information.

Subscribe to a thread and return the subscription information.

See the github docs for more information.

Unsubscribe to a thread and return the subscription information.

See the github docs for more information.

Delete the thread subscription.

See the github docs for more information.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.