pub struct ReturnData {
pub resultcount: u32,
pub results: Vec<Package>,
/* private fields */
}Expand description
This is a a response to a search request.
Fields§
§resultcount: u32Number of packages found
results: Vec<Package>Vector of packages. If this is empty then no packages were found, or there was an error.
Trait Implementations§
Source§impl Debug for ReturnData
impl Debug for ReturnData
Source§impl<'de> Deserialize<'de> for ReturnData
impl<'de> Deserialize<'de> for ReturnData
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 ReturnData
impl RefUnwindSafe for ReturnData
impl Send for ReturnData
impl Sync for ReturnData
impl Unpin for ReturnData
impl UnwindSafe for ReturnData
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