pub struct ParseSettings {
pub proxy: ProxyConfig,
pub exclude_remarks: Option<Vec<String>>,
pub include_remarks: Option<Vec<String>>,
pub stream_rules: Option<RegexMatchConfigs>,
pub time_rules: Option<RegexMatchConfigs>,
pub sub_info: Option<String>,
pub authorized: bool,
pub request_header: Option<HashMap<CaseInsensitiveString, String>>,
}Expand description
Rust equivalent of the parse_settings struct in C++ Used for controlling the behavior of parsing functions
Fields§
§proxy: ProxyConfigProxy to use for downloading subscriptions
exclude_remarks: Option<Vec<String>>Array of remarks to exclude
include_remarks: Option<Vec<String>>Array of remarks to include
stream_rules: Option<RegexMatchConfigs>Rules for stream matching
time_rules: Option<RegexMatchConfigs>Rules for time matching
sub_info: Option<String>Subscription information
Whether operations requiring authorization are allowed
request_header: Option<HashMap<CaseInsensitiveString, String>>HTTP request headers
Trait Implementations§
Source§impl Clone for ParseSettings
impl Clone for ParseSettings
Source§fn clone(&self) -> ParseSettings
fn clone(&self) -> ParseSettings
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 ParseSettings
impl Debug for ParseSettings
Auto Trait Implementations§
impl Freeze for ParseSettings
impl RefUnwindSafe for ParseSettings
impl Send for ParseSettings
impl Sync for ParseSettings
impl Unpin for ParseSettings
impl UnwindSafe for ParseSettings
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