pub struct Submission {Show 20 fields
pub archive_ts: Option<DateTime<Utc>>,
pub archived: bool,
pub classification: ExpandingClassification,
pub tracing_events: Vec<TraceEvent>,
pub error_count: i32,
pub errors: Vec<String>,
pub expiry_ts: Option<DateTime<Utc>>,
pub file_count: i32,
pub files: Vec<File>,
pub max_score: i32,
pub metadata: HashMap<String, Wildcard>,
pub params: SubmissionParams,
pub results: Vec<Wildcard>,
pub sid: Sid,
pub state: SubmissionState,
pub to_be_deleted: bool,
pub times: Times,
pub verdict: Verdict,
pub from_archive: bool,
pub scan_key: Option<String>,
}
Expand description
Model of Submission
Fields§
§archive_ts: Option<DateTime<Utc>>
Time at which the submission was archived
archived: bool
Document is present in the malware archive
classification: ExpandingClassification
Classification of the submission
tracing_events: Vec<TraceEvent>
A log of events describing the processing sequence.
error_count: i32
Total number of errors in the submission
errors: Vec<String>
List of error keys
expiry_ts: Option<DateTime<Utc>>
Expiry timestamp
file_count: i32
Total number of files in the submission
files: Vec<File>
List of files that were originally submitted
max_score: i32
Maximum score of all the files in the scan
metadata: HashMap<String, Wildcard>
Metadata associated to the submission
params: SubmissionParams
Submission parameter details
results: Vec<Wildcard>
List of result keys
sid: Sid
Submission ID
state: SubmissionState
Status of the submission
to_be_deleted: bool
This document is going to be deleted as soon as it finishes
times: Times
Submission-specific times
verdict: Verdict
Malicious verdict details
from_archive: bool
Was loaded from the archive
scan_key: Option<String>
the filescore key, used in deduplication. This is a non-unique key, that is shared by submissions that may be processed as duplicates.
Trait Implementations§
Source§impl Clone for Submission
impl Clone for Submission
Source§fn clone(&self) -> Submission
fn clone(&self) -> Submission
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for Submission
impl Debug for Submission
Source§impl Described<ElasticMeta> for Submission
impl Described<ElasticMeta> for Submission
Source§fn metadata() -> Descriptor<ElasticMeta>
fn metadata() -> Descriptor<ElasticMeta>
Source§impl<'de> Deserialize<'de> for Submission
impl<'de> Deserialize<'de> for Submission
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>,
Source§impl Distribution<Submission> for StandardUniform
impl Distribution<Submission> for StandardUniform
Source§impl From<&Submission> for Submission
impl From<&Submission> for Submission
Source§fn from(value: &Submission) -> Self
fn from(value: &Submission) -> Self
Source§impl Readable for Submission
impl Readable for Submission
fn set_from_archive(&mut self, from_archive: bool)
Auto Trait Implementations§
impl Freeze for Submission
impl RefUnwindSafe for Submission
impl Send for Submission
impl Sync for Submission
impl Unpin for Submission
impl UnwindSafe for Submission
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more