pub struct SchemaLogsource {
pub product: Option<String>,
pub service: Option<String>,
pub category: Option<String>,
pub custom: HashMap<String, String>,
}Expand description
The logsource a recognized schema implies, used to fill gaps in an event’s
logsource for conflict-based pruning when the event carries no explicit
product/service/category field.
Fields§
§product: Option<String>§service: Option<String>§category: Option<String>§custom: HashMap<String, String>Trait Implementations§
Source§impl Clone for SchemaLogsource
impl Clone for SchemaLogsource
Source§fn clone(&self) -> SchemaLogsource
fn clone(&self) -> SchemaLogsource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaLogsource
impl Debug for SchemaLogsource
Source§impl Default for SchemaLogsource
impl Default for SchemaLogsource
Source§fn default() -> SchemaLogsource
fn default() -> SchemaLogsource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchemaLogsource
impl<'de> Deserialize<'de> for SchemaLogsource
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 SchemaLogsource
impl RefUnwindSafe for SchemaLogsource
impl Send for SchemaLogsource
impl Sync for SchemaLogsource
impl Unpin for SchemaLogsource
impl UnsafeUnpin for SchemaLogsource
impl UnwindSafe for SchemaLogsource
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