Struct octocrab::workflows::ListRunsBuilder
source · pub struct ListRunsBuilder<'octo, 'b> { /* private fields */ }
Implementations§
source§impl<'octo, 'b> ListRunsBuilder<'octo, 'b>
impl<'octo, 'b> ListRunsBuilder<'octo, 'b>
sourcepub fn actor(self, actor: impl Into<String>) -> Self
pub fn actor(self, actor: impl Into<String>) -> Self
Someone who runs workflows. Use the login to specify a user.
sourcepub fn branch(self, branch: impl Into<String>) -> Self
pub fn branch(self, branch: impl Into<String>) -> Self
A branch associated with workflows. Use the name of the branch of the push.
sourcepub fn event(self, event: impl Into<String>) -> Self
pub fn event(self, event: impl Into<String>) -> Self
An event associated with workflows. Can be e.g. push, pull_request, issue, … and many variations. See official “Events that trigger workflows.” doc.
sourcepub fn status(self, status: impl Into<String>) -> Self
pub fn status(self, status: impl Into<String>) -> Self
A status associated with workflows. status or conclusion can be specified. e.g. success, in_progress, waiting…
sourcepub fn exclude_pull_requests(
self,
exclude_pull_requests: impl Into<bool>
) -> Self
pub fn exclude_pull_requests( self, exclude_pull_requests: impl Into<bool> ) -> Self
Whether to exclude the pull requests or not.
Trait Implementations§
Auto Trait Implementations§
impl<'octo, 'b> Freeze for ListRunsBuilder<'octo, 'b>
impl<'octo, 'b> !RefUnwindSafe for ListRunsBuilder<'octo, 'b>
impl<'octo, 'b> Send for ListRunsBuilder<'octo, 'b>
impl<'octo, 'b> Sync for ListRunsBuilder<'octo, 'b>
impl<'octo, 'b> Unpin for ListRunsBuilder<'octo, 'b>
impl<'octo, 'b> !UnwindSafe for ListRunsBuilder<'octo, 'b>
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