pub struct Installation {
pub canon_version: CanonVersion,
pub profile: ProfileId,
pub docs_root: DocsRoot,
pub record_sha256: Sha256,
pub declaration_sha256: Option<Sha256>,
pub managed: Vec<RecordedFile>,
pub adopted: Vec<RecordedFile>,
pub blocks: Vec<RecordedBlock>,
}Expand description
What is installed at the target.
Fields§
§canon_version: CanonVersionThe release the record names.
profile: ProfileIdThe profile the record names.
docs_root: DocsRootThe documentation root the record names.
record_sha256: Sha256The record’s own digest.
declaration_sha256: Option<Sha256>The project’s declaration digest, where it has one.
managed: Vec<RecordedFile>Every managed file, as recorded and as found.
adopted: Vec<RecordedFile>Every adopted file, as recorded and as found.
blocks: Vec<RecordedBlock>Every marked region the canon owns, as recorded and as found.
Implementations§
Trait Implementations§
Source§impl Clone for Installation
impl Clone for Installation
Source§fn clone(&self) -> Installation
fn clone(&self) -> Installation
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 Installation
impl Debug for Installation
Source§impl<'de> Deserialize<'de> for Installation
impl<'de> Deserialize<'de> for Installation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Installation
Source§impl PartialEq for Installation
impl PartialEq for Installation
Source§impl Serialize for Installation
impl Serialize for Installation
impl StructuralPartialEq for Installation
Auto Trait Implementations§
impl Freeze for Installation
impl RefUnwindSafe for Installation
impl Send for Installation
impl Sync for Installation
impl Unpin for Installation
impl UnsafeUnpin for Installation
impl UnwindSafe for Installation
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.