pub struct IntakeSourceConfig {
pub source_type: String,
pub enabled: bool,
pub config: Value,
}Expand description
Configuration for a specific intake source
Fields§
§source_type: StringSource type (github, gitlab, prometheus, sentry, etc.)
enabled: boolWhether this source is enabled
config: ValueSource-specific configuration
Trait Implementations§
Source§impl Clone for IntakeSourceConfig
impl Clone for IntakeSourceConfig
Source§fn clone(&self) -> IntakeSourceConfig
fn clone(&self) -> IntakeSourceConfig
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 IntakeSourceConfig
impl Debug for IntakeSourceConfig
Source§impl<'de> Deserialize<'de> for IntakeSourceConfig
impl<'de> Deserialize<'de> for IntakeSourceConfig
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 IntakeSourceConfig
impl RefUnwindSafe for IntakeSourceConfig
impl Send for IntakeSourceConfig
impl Sync for IntakeSourceConfig
impl Unpin for IntakeSourceConfig
impl UnsafeUnpin for IntakeSourceConfig
impl UnwindSafe for IntakeSourceConfig
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