pub struct HarnessConfig {
pub enabled: Option<bool>,
pub content: Option<HarnessUsageContentConfig>,
pub matchers: Vec<HarnessMatcherConfig>,
}Expand description
Optional policy override and source matchers for one Harness.
Fields§
§enabled: Option<bool>Whether this Harness should produce usage events.
content: Option<HarnessUsageContentConfig>Content policy override for this Harness.
matchers: Vec<HarnessMatcherConfig>Source matchers used by a custom Harness.
Trait Implementations§
Source§impl Clone for HarnessConfig
impl Clone for HarnessConfig
Source§impl Debug for HarnessConfig
impl Debug for HarnessConfig
Source§impl Default for HarnessConfig
impl Default for HarnessConfig
Source§impl<'de> Deserialize<'de> for HarnessConfig
impl<'de> Deserialize<'de> for HarnessConfig
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 HarnessConfig
impl RefUnwindSafe for HarnessConfig
impl Send for HarnessConfig
impl Sync for HarnessConfig
impl Unpin for HarnessConfig
impl UnsafeUnpin for HarnessConfig
impl UnwindSafe for HarnessConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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