pub struct PackageInput {
pub source: String,
pub scope: String,
pub root: PathBuf,
pub filter: Option<FilteredPackage>,
}Expand description
A package to collect from, after pi’s deduplication.
Fields§
§source: StringThe source as written in settings.
scope: Stringuser, project or temporary.
root: PathBufWhere it is installed: a directory, or a file for a local file.
filter: Option<FilteredPackage>The settings entry’s filters, when it is an object.
Trait Implementations§
Source§impl Clone for PackageInput
impl Clone for PackageInput
Source§impl Debug for PackageInput
impl Debug for PackageInput
Source§impl PartialEq for PackageInput
impl PartialEq for PackageInput
impl StructuralPartialEq for PackageInput
Auto Trait Implementations§
impl Forget for PackageInput
impl Freeze for PackageInput
impl RefUnwindSafe for PackageInput
impl Send for PackageInput
impl Sync for PackageInput
impl Unpin for PackageInput
impl UnsafeUnpin for PackageInput
impl UnwindSafe for PackageInput
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