pub struct SubmitReq {
pub files: Vec<Scan>,
pub project: Option<String>,
}Fields§
§files: Vec<Scan>Files is the batch to scan, at most 500 files and 8 MiB of content in total.
project: Option<String>Project names the sub-scope the scan is filed under. It must be a slug; omit it and the caller’s project header is used instead.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubmitReq
impl<'de> Deserialize<'de> for SubmitReq
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
impl StructuralPartialEq for SubmitReq
Auto Trait Implementations§
impl Freeze for SubmitReq
impl RefUnwindSafe for SubmitReq
impl Send for SubmitReq
impl Sync for SubmitReq
impl Unpin for SubmitReq
impl UnsafeUnpin for SubmitReq
impl UnwindSafe for SubmitReq
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