pub struct Candidate<'a> {
pub source: &'a dyn ReleaseSource,
pub manifest: ReleaseManifest,
pub venue: &'a str,
pub verification: Verification,
}Expand description
The candidate bundle, as the planner receives it.
Fields§
§source: &'a dyn ReleaseSourceThe source the candidate’s bytes are read through.
manifest: ReleaseManifestThe candidate’s manifest, read once.
venue: &'a strWhere it was read from: embedded, crates, or directory.
verification: VerificationHow it was verified.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Candidate<'a>
impl<'a> !Send for Candidate<'a>
impl<'a> !Sync for Candidate<'a>
impl<'a> !UnwindSafe for Candidate<'a>
impl<'a> Freeze for Candidate<'a>
impl<'a> Unpin for Candidate<'a>
impl<'a> UnsafeUnpin for Candidate<'a>
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