pub struct DetectionSpec {
pub command: String,
pub aliases: Vec<String>,
pub required_commands: Vec<String>,
pub unsupported_platforms: Vec<RuntimePlatform>,
}Fields§
§command: String§aliases: Vec<String>§required_commands: Vec<String>§unsupported_platforms: Vec<RuntimePlatform>Trait Implementations§
Source§impl Clone for DetectionSpec
impl Clone for DetectionSpec
Source§impl Debug for DetectionSpec
impl Debug for DetectionSpec
Source§impl<'de> Deserialize<'de> for DetectionSpec
impl<'de> Deserialize<'de> for DetectionSpec
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
impl Eq for DetectionSpec
Source§impl PartialEq for DetectionSpec
impl PartialEq for DetectionSpec
Source§impl Serialize for DetectionSpec
impl Serialize for DetectionSpec
impl StructuralPartialEq for DetectionSpec
Auto Trait Implementations§
impl Freeze for DetectionSpec
impl RefUnwindSafe for DetectionSpec
impl Send for DetectionSpec
impl Sync for DetectionSpec
impl Unpin for DetectionSpec
impl UnsafeUnpin for DetectionSpec
impl UnwindSafe for DetectionSpec
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