pub struct RunCommand { /* private fields */ }Implementations§
Source§impl RunCommand
impl RunCommand
pub fn new() -> Self
pub fn data(self, value: impl Into<String>) -> Self
pub fn cmdline(self, value: impl Into<String>) -> Self
pub fn env(self, value: Map<String, Value>) -> Self
pub fn allow_remote_control(self, value: bool) -> Self
pub fn remote_control_password(self, value: impl Into<String>) -> Self
pub fn build(self) -> Result<KittyMessage, CommandError>
Auto Trait Implementations§
impl Freeze for RunCommand
impl RefUnwindSafe for RunCommand
impl Send for RunCommand
impl Sync for RunCommand
impl Unpin for RunCommand
impl UnwindSafe for RunCommand
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