pub struct PortableCommand {
pub kind: CommandKind,
pub command: String,
pub timeout: u64,
}Fields§
§kind: CommandKind§command: String§timeout: u64Mandatory seconds, unlike the upstream defaults.
Trait Implementations§
Source§impl Clone for PortableCommand
impl Clone for PortableCommand
Source§impl Debug for PortableCommand
impl Debug for PortableCommand
Source§impl<'de> Deserialize<'de> for PortableCommand
impl<'de> Deserialize<'de> for PortableCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PortableCommand
impl RefUnwindSafe for PortableCommand
impl Send for PortableCommand
impl Sync for PortableCommand
impl Unpin for PortableCommand
impl UnsafeUnpin for PortableCommand
impl UnwindSafe for PortableCommand
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