pub struct ScanRequest {
pub packages: Vec<PackageRef>,
}Expand description
Body of POST /v1/scan — a batch of package coordinates, no policy.
Distinct from PolicyPreviewRequest: cleanlib scan previews packages
against the customer’s active policy (verdict-driven, server-side), so it
carries no policy_yaml. Routing scan through /v1/policy/preview
(which requires policy_yaml) was the 422 that hid behind the earlier
package-field fix.
Fields§
§packages: Vec<PackageRef>Trait Implementations§
Source§impl Clone for ScanRequest
impl Clone for ScanRequest
Source§fn clone(&self) -> ScanRequest
fn clone(&self) -> ScanRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScanRequest
impl Debug for ScanRequest
Auto Trait Implementations§
impl Freeze for ScanRequest
impl RefUnwindSafe for ScanRequest
impl Send for ScanRequest
impl Sync for ScanRequest
impl Unpin for ScanRequest
impl UnsafeUnpin for ScanRequest
impl UnwindSafe for ScanRequest
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