pub struct CommandBuilder { /* private fields */ }Implementations§
Source§impl CommandBuilder
impl CommandBuilder
pub fn new(cmd: impl Into<String>) -> Self
pub fn version(self, version: Vec<u32>) -> Self
pub fn no_response(self, value: bool) -> Self
pub fn kitty_window_id(self, id: impl Into<String>) -> Self
pub fn payload(self, payload: Value) -> Self
pub fn build(self) -> KittyMessage
Auto Trait Implementations§
impl Freeze for CommandBuilder
impl RefUnwindSafe for CommandBuilder
impl Send for CommandBuilder
impl Sync for CommandBuilder
impl Unpin for CommandBuilder
impl UnwindSafe for CommandBuilder
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