Struct assemblyline_models::datastore::result::Section
source · pub struct Section {
pub auto_collapse: bool,
pub body: Option<String>,
pub classification: ClassificationString,
pub body_format: BodyFormat,
pub body_config: Option<HashMap<String, Value>>,
pub depth: i64,
pub heuristic: Option<Heuristic>,
pub tags: Box<Tagging>,
pub safelisted_tags: HashMap<String, Vec<Value>>,
pub title_text: String,
}Expand description
Result Section
Fields§
§auto_collapse: boolShould the section be collapsed when displayed?
body: Option<String>Text body of the result section
classification: ClassificationStringClassification of the section
body_format: BodyFormatType of body in this section
body_config: Option<HashMap<String, Value>>Configurations for the body of this section
depth: i64Depth of the section
heuristic: Option<Heuristic>Heuristic used to score result section
List of tags associated to this section
List of safelisted tags
title_text: StringTitle of the section
Trait Implementations§
source§impl Described<ElasticMeta> for Section
impl Described<ElasticMeta> for Section
source§fn metadata() -> Descriptor<ElasticMeta>
fn metadata() -> Descriptor<ElasticMeta>
Get self description of this type
source§impl<'de> Deserialize<'de> for Section
impl<'de> Deserialize<'de> for Section
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 RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
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