[−][src]Struct cargo_audit::config::TargetConfig
Target configuration
Fields
arch: Option<Arch>
Target architecture to find vulnerabilities for
os: Option<OS>
Target OS to find vulnerabilities for
Trait Implementations
impl Default for TargetConfig
[src]
fn default() -> TargetConfig
[src]
impl Clone for TargetConfig
[src]
fn clone(&self) -> TargetConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TargetConfig
[src]
impl Config for TargetConfig
[src]
fn load_toml<T>(toml_string: T) -> Result<Self, Error<FrameworkErrorKind>> where
T: AsRef<str>,
[src]
T: AsRef<str>,
fn load_toml_file<P>(path: &P) -> Result<Self, Error<FrameworkErrorKind>> where
P: AsRef<CanonicalPath>,
[src]
P: AsRef<CanonicalPath>,
impl Serialize for TargetConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for TargetConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for TargetConfig
impl Unpin for TargetConfig
impl Sync for TargetConfig
impl UnwindSafe for TargetConfig
impl RefUnwindSafe for TargetConfig
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,