pub struct DetectHints<'a> {
pub url_hint: &'a str,
pub http_charset_hint: &'a str,
pub meta_charset_hint: &'a str,
pub encoding_hint: Option<Encoding>,
pub language_hint: Option<Language>,
pub corpus_type: TextCorpusType,
pub ignore_7bit_mail_encodings: bool,
}Fields§
§url_hint: &'a str§http_charset_hint: &'a str§meta_charset_hint: &'a str§encoding_hint: Option<Encoding>§language_hint: Option<Language>§corpus_type: TextCorpusType§ignore_7bit_mail_encodings: boolTrait Implementations§
Source§impl<'a> Clone for DetectHints<'a>
impl<'a> Clone for DetectHints<'a>
Source§fn clone(&self) -> DetectHints<'a>
fn clone(&self) -> DetectHints<'a>
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<'a> Debug for DetectHints<'a>
impl<'a> Debug for DetectHints<'a>
Auto Trait Implementations§
impl<'a> Freeze for DetectHints<'a>
impl<'a> RefUnwindSafe for DetectHints<'a>
impl<'a> Send for DetectHints<'a>
impl<'a> Sync for DetectHints<'a>
impl<'a> Unpin for DetectHints<'a>
impl<'a> UnwindSafe for DetectHints<'a>
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