pub struct CommandPolicyDef {
pub command: String,
pub args: Vec<String>,
pub timeout: u64,
}Fields§
§command: String§args: Vec<String>§timeout: u64Trait Implementations§
Source§impl Clone for CommandPolicyDef
impl Clone for CommandPolicyDef
Source§fn clone(&self) -> CommandPolicyDef
fn clone(&self) -> CommandPolicyDef
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 CommandPolicyDef
impl Debug for CommandPolicyDef
Source§impl<'de> Deserialize<'de> for CommandPolicyDef
impl<'de> Deserialize<'de> for CommandPolicyDef
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 CommandPolicyDef
impl RefUnwindSafe for CommandPolicyDef
impl Send for CommandPolicyDef
impl Sync for CommandPolicyDef
impl Unpin for CommandPolicyDef
impl UnsafeUnpin for CommandPolicyDef
impl UnwindSafe for CommandPolicyDef
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