Struct schema_analysis::context::StringContext [−][src]
pub struct StringContext {
pub count: Counter,
pub samples: Sampler<String>,
pub suspicious_strings: SuspiciousStrings,
pub semantic_extractor: SemanticExtractor,
pub min_max_length: MinMax<usize>,
pub other_aggregators: Aggregators<str>,
}
Fields
count: Counter
samples: Sampler<String>
suspicious_strings: SuspiciousStrings
Keeps track of any occurrences of strings that are known to be fishy.
semantic_extractor: SemanticExtractor
Runs regexes on the strings to check whether they have interesting values.
min_max_length: MinMax<usize>
other_aggregators: Aggregators<str>
Trait Implementations
Returns the “default value” for a type. Read more
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 !RefUnwindSafe for StringContext
impl Send for StringContext
impl Sync for StringContext
impl Unpin for StringContext
impl !UnwindSafe for StringContext
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more