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
Trait Implementations§
Source§impl Default for AstroRunBuilder
impl Default for AstroRunBuilder
Source§fn default() -> AstroRunBuilder
fn default() -> AstroRunBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AstroRunBuilder
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