pub struct IntakeConfig {
pub enabled: bool,
pub sources: Vec<IntakeSourceConfig>,
pub signal_extraction: SignalExtractionConfig,
pub rate_limit: RateLimitConfig,
}Expand description
Configuration for the intake system
Fields§
§enabled: boolEnable/disable the intake system
sources: Vec<IntakeSourceConfig>Supported intake sources
signal_extraction: SignalExtractionConfigSignal extraction settings
rate_limit: RateLimitConfigIntake rate limiting
Trait Implementations§
Source§impl Clone for IntakeConfig
impl Clone for IntakeConfig
Source§fn clone(&self) -> IntakeConfig
fn clone(&self) -> IntakeConfig
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 IntakeConfig
impl Debug for IntakeConfig
Source§impl Default for IntakeConfig
impl Default for IntakeConfig
Source§impl<'de> Deserialize<'de> for IntakeConfig
impl<'de> Deserialize<'de> for IntakeConfig
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 IntakeConfig
impl RefUnwindSafe for IntakeConfig
impl Send for IntakeConfig
impl Sync for IntakeConfig
impl Unpin for IntakeConfig
impl UnsafeUnpin for IntakeConfig
impl UnwindSafe for IntakeConfig
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