pub struct Input {
pub path: String,
pub source: String,
pub sha256: String,
pub licence: Licence,
}Expand description
One file in a sysroot, and everything that has to be true of it.
Fields§
§path: StringWhere it sits, relative to the sysroot root. Relative because an absolute path is a fact about the machine that built it, and two hosts have different ones.
source: StringWhat it came out of, named so that the same manifest can be produced again. A release name and version rather than a URL, because a URL moves and a release does not.
sha256: StringThe hash of the file, lowercase hex.
licence: LicenceWhat it may be done with.
Trait Implementations§
impl Eq for Input
Source§impl Ord for Input
impl Ord for Input
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Input
impl PartialOrd for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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