pub struct CreateJitRunnerConfigBuilder<'octo, 'r> { /* private fields */ }
Expand description
A builder pattern struct for creating just-in-time runner configurations.
Created by ActionsHandler::create_org_jit_runner_config
or
ActionsHandler::create_repo_jit_runner_config
.
Implementations§
source§impl<'octo, 'r> CreateJitRunnerConfigBuilder<'octo, 'r>
impl<'octo, 'r> CreateJitRunnerConfigBuilder<'octo, 'r>
sourcepub fn work_folder(self, work_folder: impl Into<String>) -> Self
pub fn work_folder(self, work_folder: impl Into<String>) -> Self
The working directory to be used for job execution, relative to the runner install directory.
sourcepub async fn send(self) -> Result<SelfHostedRunnerJitConfig>
pub async fn send(self) -> Result<SelfHostedRunnerJitConfig>
Sends the actual request.
Trait Implementations§
Auto Trait Implementations§
impl<'octo, 'r> Freeze for CreateJitRunnerConfigBuilder<'octo, 'r>
impl<'octo, 'r> !RefUnwindSafe for CreateJitRunnerConfigBuilder<'octo, 'r>
impl<'octo, 'r> Send for CreateJitRunnerConfigBuilder<'octo, 'r>
impl<'octo, 'r> Sync for CreateJitRunnerConfigBuilder<'octo, 'r>
impl<'octo, 'r> Unpin for CreateJitRunnerConfigBuilder<'octo, 'r>
impl<'octo, 'r> !UnwindSafe for CreateJitRunnerConfigBuilder<'octo, 'r>
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