pub struct R3ClientStartJobBuilder<'__f0, __State: __R3ClientStartJobBuilderState = (Required<String>, Required<Vec<String>>, Optional<Vec<ArgumentInput>>)> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::call()
.
Implementations§
source§impl<'__f0, __State: __R3ClientStartJobBuilderState> R3ClientStartJobBuilder<'__f0, __State>
impl<'__f0, __State: __R3ClientStartJobBuilderState> R3ClientStartJobBuilder<'__f0, __State>
source§impl<'__f0, __State: __R3ClientStartJobBuilderState<FileId = Required<String>>> R3ClientStartJobBuilder<'__f0, __State>
impl<'__f0, __State: __R3ClientStartJobBuilderState<FileId = Required<String>>> R3ClientStartJobBuilder<'__f0, __State>
sourcepub fn file_id(
self,
value: impl Into<String>,
) -> __R3ClientStartJobBuilderSetFileId<'__f0, __State>
pub fn file_id( self, value: impl Into<String>, ) -> __R3ClientStartJobBuilderSetFileId<'__f0, __State>
The ID of the script file to run.
Note that this needs to be an executable file.
Get a list of files using R3Client::get_files()
.
source§impl<'__f0, __State: __R3ClientStartJobBuilderState<DeviceIds = Required<Vec<String>>>> R3ClientStartJobBuilder<'__f0, __State>
impl<'__f0, __State: __R3ClientStartJobBuilderState<DeviceIds = Required<Vec<String>>>> R3ClientStartJobBuilder<'__f0, __State>
sourcepub fn device_ids(
self,
value: Vec<String>,
) -> __R3ClientStartJobBuilderSetDeviceIds<'__f0, __State>
pub fn device_ids( self, value: Vec<String>, ) -> __R3ClientStartJobBuilderSetDeviceIds<'__f0, __State>
The IDs of the devices to run the script on.
Get a list of devices using R3Client::get_devices()
.
source§impl<'__f0, __State: __R3ClientStartJobBuilderState<Arguments = Optional<Vec<ArgumentInput>>>> R3ClientStartJobBuilder<'__f0, __State>
impl<'__f0, __State: __R3ClientStartJobBuilderState<Arguments = Optional<Vec<ArgumentInput>>>> R3ClientStartJobBuilder<'__f0, __State>
sourcepub fn maybe_arguments(
self,
value: Option<Vec<ArgumentInput>>,
) -> __R3ClientStartJobBuilderSetArguments<'__f0, __State>
pub fn maybe_arguments( self, value: Option<Vec<ArgumentInput>>, ) -> __R3ClientStartJobBuilderSetArguments<'__f0, __State>
Same as Self::arguments
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn arguments(
self,
value: Vec<ArgumentInput>,
) -> __R3ClientStartJobBuilderSetArguments<'__f0, __State>
pub fn arguments( self, value: Vec<ArgumentInput>, ) -> __R3ClientStartJobBuilderSetArguments<'__f0, __State>
Arguments to pass to the script. These are optional. For more information on script arguments please consult the remote.it API documentation.
Auto Trait Implementations§
impl<'__f0, __State> Freeze for R3ClientStartJobBuilder<'__f0, __State>
impl<'__f0, __State> RefUnwindSafe for R3ClientStartJobBuilder<'__f0, __State>where
<__State as __R3ClientStartJobBuilderState>::FileId: RefUnwindSafe,
<__State as __R3ClientStartJobBuilderState>::DeviceIds: RefUnwindSafe,
<__State as __R3ClientStartJobBuilderState>::Arguments: RefUnwindSafe,
__State: RefUnwindSafe,
impl<'__f0, __State> Send for R3ClientStartJobBuilder<'__f0, __State>
impl<'__f0, __State> Sync for R3ClientStartJobBuilder<'__f0, __State>
impl<'__f0, __State> Unpin for R3ClientStartJobBuilder<'__f0, __State>
impl<'__f0, __State> UnwindSafe for R3ClientStartJobBuilder<'__f0, __State>where
<__State as __R3ClientStartJobBuilderState>::FileId: UnwindSafe,
<__State as __R3ClientStartJobBuilderState>::DeviceIds: UnwindSafe,
<__State as __R3ClientStartJobBuilderState>::Arguments: UnwindSafe,
__State: UnwindSafe,
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