pub struct RawCommand { /* private fields */ }Implementations§
Source§impl RawCommand
impl RawCommand
pub fn new(group: impl Into<String>, command: impl Into<String>) -> Self
pub fn new_with_params( group: impl Into<String>, command: impl Into<String>, params: HashMap<String, String>, ) -> Self
pub fn param(&mut self, attribute: impl Into<String>, value: impl Into<String>)
pub fn from_command<C: Command + Serialize>( cmd: &C, ) -> Result<Self, SerializeError>
Trait Implementations§
Source§impl Clone for RawCommand
impl Clone for RawCommand
Source§fn clone(&self) -> RawCommand
fn clone(&self) -> RawCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RawCommand
impl Debug for RawCommand
Auto Trait Implementations§
impl Freeze for RawCommand
impl RefUnwindSafe for RawCommand
impl Send for RawCommand
impl Sync for RawCommand
impl Unpin for RawCommand
impl UnwindSafe for RawCommand
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