pub struct Wanted {
pub package: String,
pub version: String,
pub payload: Payload,
}Expand description
One file to download, and which package of Microsoft’s it came out of.
Fields§
§package: StringThe package id, which is what a provenance record names as the source.
version: StringThe package version, which is the version of that source.
payload: PayloadThe file itself.
Trait Implementations§
impl Eq for Wanted
impl StructuralPartialEq for Wanted
Auto Trait Implementations§
impl Freeze for Wanted
impl RefUnwindSafe for Wanted
impl Send for Wanted
impl Sync for Wanted
impl Unpin for Wanted
impl UnsafeUnpin for Wanted
impl UnwindSafe for Wanted
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