Struct astro_run::AstroRunBuilder
source · pub struct AstroRunBuilder { /* private fields */ }Implementations§
source§impl AstroRunBuilder
impl AstroRunBuilder
pub fn new() -> Self
pub fn runner<T>(self, runner: T) -> Selfwhere
T: Runner + 'static,
pub fn plugin<P: Plugin + 'static>(self, plugin: P) -> Self
pub fn action( self, name: impl Into<String>, action: impl Action + 'static ) -> Self
pub fn github_personal_token(self, token: impl Into<String>) -> Self
pub fn github_app(self, app_id: u64, private_key: impl Into<String>) -> Self
pub fn build(self) -> AstroRun
Auto Trait Implementations§
impl !RefUnwindSafe for AstroRunBuilder
impl Send for AstroRunBuilder
impl Sync for AstroRunBuilder
impl Unpin for AstroRunBuilder
impl !UnwindSafe for AstroRunBuilder
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