pub struct SourceExplanation {
pub name: String,
pub version: String,
pub source: SourceProvenance,
pub source_replacements: Vec<String>,
}Expand description
Explain where a package’s source bytes came from.
Fields§
§name: String§version: String§source: SourceProvenance§source_replacements: Vec<String>Active source-replacement entries the orchestration layer surfaced as relevant to this query (typically every entry in the merged config since one chain may rewrite many packages). Empty when no replacements are active.
Trait Implementations§
Source§impl Clone for SourceExplanation
impl Clone for SourceExplanation
Source§fn clone(&self) -> SourceExplanation
fn clone(&self) -> SourceExplanation
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 SourceExplanation
impl Debug for SourceExplanation
Auto Trait Implementations§
impl Freeze for SourceExplanation
impl RefUnwindSafe for SourceExplanation
impl Send for SourceExplanation
impl Sync for SourceExplanation
impl Unpin for SourceExplanation
impl UnsafeUnpin for SourceExplanation
impl UnwindSafe for SourceExplanation
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