Struct assemblyline_models::datastore::result::Result
source · pub struct Result {
pub classification: ExpandingClassification,
pub created: DateTime<Utc>,
pub expiry_ts: Option<DateTime<Utc>>,
pub response: ResponseBody,
pub result: ResultBody,
pub sha256: Sha256,
pub result_type: Option<String>,
pub size: Option<u64>,
pub drop_file: bool,
pub from_archive: bool,
}Expand description
Result Model
Fields§
§classification: ExpandingClassificationAggregate classification for the result
created: DateTime<Utc>Date at which the result object got created
expiry_ts: Option<DateTime<Utc>>Expiry timestamp
response: ResponseBodyThe body of the response from the service
result: ResultBodyThe result body
sha256: Sha256SHA256 of the file the result object relates to
result_type: Option<String>What type information is given along with this result
size: Option<u64>???
drop_file: boolUse to not pass to other stages after this run
from_archive: boolWas loaded from the archive
Trait Implementations§
source§impl Described<ElasticMeta> for Result
impl Described<ElasticMeta> for Result
source§fn metadata() -> Descriptor<ElasticMeta>
fn metadata() -> Descriptor<ElasticMeta>
Get self description of this type
source§impl<'de> Deserialize<'de> for Result
impl<'de> Deserialize<'de> for Result
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 Result
impl Send for Result
impl Sync for Result
impl Unpin for Result
impl UnwindSafe for Result
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