pub struct InstallationMetadata {
pub default_install_location: Option<Path>,
pub files: BTreeSet<MetadataFiles>,
}Fields§
§default_install_location: Option<Path>The default install location for the package.
files: BTreeSet<MetadataFiles>The files installed for the package.
Implementations§
Trait Implementations§
Source§impl Clone for InstallationMetadata
impl Clone for InstallationMetadata
Source§fn clone(&self) -> InstallationMetadata
fn clone(&self) -> InstallationMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 InstallationMetadata
impl Debug for InstallationMetadata
Source§impl Default for InstallationMetadata
impl Default for InstallationMetadata
Source§fn default() -> InstallationMetadata
fn default() -> InstallationMetadata
Returns the “default value” for a type. Read more
Source§impl Hash for InstallationMetadata
impl Hash for InstallationMetadata
Source§impl Ord for InstallationMetadata
impl Ord for InstallationMetadata
Source§fn cmp(&self, other: &InstallationMetadata) -> Ordering
fn cmp(&self, other: &InstallationMetadata) -> Ordering
1.21.0 · 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
Source§impl PartialEq for InstallationMetadata
impl PartialEq for InstallationMetadata
Source§impl PartialOrd for InstallationMetadata
impl PartialOrd for InstallationMetadata
impl Eq for InstallationMetadata
impl StructuralPartialEq for InstallationMetadata
Auto Trait Implementations§
impl Freeze for InstallationMetadata
impl RefUnwindSafe for InstallationMetadata
impl Send for InstallationMetadata
impl Sync for InstallationMetadata
impl Unpin for InstallationMetadata
impl UnwindSafe for InstallationMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more