pub struct Submission {Show 18 fields
pub archived: bool,
pub classification: ExpandingClassification,
pub error_count: i32,
pub errors: Vec<String>,
pub expiry_ts: Option<DateTime<Utc>>,
pub file_count: i32,
pub file: File,
pub max_score: i32,
pub metadata: HashMap<String, String>,
pub params: SubmissionParams,
pub results: Vec<String>,
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§
§archived: boolDocument is present in the malware archive
classification: ExpandingClassificationClassification of the submission
error_count: i32Total number of errors in the submission
errors: Vec<String>List of error keys
expiry_ts: Option<DateTime<Utc>>Expiry timestamp
file_count: i32Total number of files in the submission
file: FileList of files that were originally submitted
max_score: i32Maximum score of all the files in the scan
metadata: HashMap<String, String>Metadata associated to the submission
params: SubmissionParamsSubmission parameter details
results: Vec<String>List of result keys
sid: SidSubmission ID
state: SubmissionStateStatus of the submission
to_be_deleted: boolThis document is going to be deleted as soon as it finishes
times: TimesSubmission-specific times
verdict: VerdictMalicious verdict details
from_archive: boolWas 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
Returns a copy 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 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>
Get self description of this type
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>,
Deserialize this value from the given Serde deserializer. Read more
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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