pub struct ScanResponse {
pub results: Vec<ScanResult>,
}Expand description
Response from POST /v1/scan. One ScanResult per requested package.
Fields§
§results: Vec<ScanResult>Trait Implementations§
Source§impl Clone for ScanResponse
impl Clone for ScanResponse
Source§fn clone(&self) -> ScanResponse
fn clone(&self) -> ScanResponse
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 ScanResponse
impl Debug for ScanResponse
Source§impl Default for ScanResponse
impl Default for ScanResponse
Source§fn default() -> ScanResponse
fn default() -> ScanResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScanResponsewhere
ScanResponse: Default,
impl<'de> Deserialize<'de> for ScanResponsewhere
ScanResponse: Default,
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 ScanResponse
impl RefUnwindSafe for ScanResponse
impl Send for ScanResponse
impl Sync for ScanResponse
impl Unpin for ScanResponse
impl UnsafeUnpin for ScanResponse
impl UnwindSafe for ScanResponse
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