pub fn list_for_repo(
        &self,
        owner: impl AsRef<str>,
        repo: impl AsRef<str>,
    ) -> ListNotificationsBuilder<'octo> {
        let url = format!("repos/{}/{}/notifications", owner.as_ref(), repo.as_ref());
        ListNotificationsBuilder::new(self.crab, url)
    }
/// List all notifications for the current user, that are in a given repository.
///
/// ```no_run
/// # async fn run() -> octocrab::Result<()> {
/// let notifications = octocrab::instance()
///     .activity()
///     .notifications()
///     .list_for_repo("XAMPPRocky", "octocrab")
///     // Also show notifications that are marked as read.
///     .all(true)
///     .send()
///     .await?;
/// # Ok(())
/// # }
/// ```
List all notifications for the current user, that are in a given repository.
List all notifications for the current user that are in a given repository .
pub fn list_for_repo(
        &self,
        owner: impl AsRef<str>,
        repo: impl AsRef<str>,
    ) -> ListNotificationsBuilder<'octo> {
        let url = format!("repos/{}/{}/notifications", owner.as_ref(), repo.as_ref());
        ListNotificationsBuilder::new(self.crab, url)
    }
pub fn list_for_repo ( & self , owner : impl AsRef < str > , repo : impl AsRef < str > , ) -> ListNotificationsBuilder < ' octo > { let url = format ! ( " " owner as_ref ( ) repo as_ref ( ) ) ; ListNotificationsBuilder :: new ( self . crab , url ) }
List all notifications for the current user, that are in a given repository.
List all notifications for the current user that are in a given repository .
&self
owner
impl AsRef<str>
repo
impl AsRef<str>
&self
owner
impl AsRef<str>
repo
impl AsRef<str>
async fn run() -> octocrab::result<()> {
let notifications = octocrab::instance()
.activity()
.notifications()
.list_for_repo("XAMPPRocky", "octocrab")
Also show notifications that are marked as read.
let notifications = octocrab :: instance () . activity () . notifications () . list_for_repo ( " XAMPPRocky " " octocrab " ) Also show notifications that are marked as read .
ok(())
None
}
None