pub enum JournalEntry {
Metadata {
package_id: String,
version: String,
engine: String,
deployment_kind: DeploymentKind,
install_dir: String,
dependencies: Vec<String>,
commands: Option<Vec<String>>,
bin: Option<Vec<String>>,
bin_bindings: Option<Vec<JournalShimBinding>>,
env_add_path: Vec<String>,
command_resolution: Option<ResolverResult>,
engine_metadata: Option<EngineMetadata>,
},
FsCreate {
path: String,
hash: Option<FileHash>,
},
FsDelete {
path: String,
hash: Option<FileHash>,
},
RegSet {
hive: String,
key: String,
value: String,
previous_value: Option<String>,
},
Shortcut {
path: String,
target: Option<String>,
},
Component {
id: String,
path: Option<String>,
},
Commit {
installed_at: String,
},
}Variants§
Metadata
FsCreate
FsDelete
RegSet
Shortcut
Component
Commit
Trait Implementations§
Source§impl Clone for JournalEntry
impl Clone for JournalEntry
Source§fn clone(&self) -> JournalEntry
fn clone(&self) -> JournalEntry
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 JournalEntry
impl Debug for JournalEntry
Source§impl<'de> Deserialize<'de> for JournalEntry
impl<'de> Deserialize<'de> for JournalEntry
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
Source§impl PartialEq for JournalEntry
impl PartialEq for JournalEntry
Source§impl Serialize for JournalEntry
impl Serialize for JournalEntry
impl Eq for JournalEntry
impl StructuralPartialEq for JournalEntry
Auto Trait Implementations§
impl Freeze for JournalEntry
impl RefUnwindSafe for JournalEntry
impl Send for JournalEntry
impl Sync for JournalEntry
impl Unpin for JournalEntry
impl UnwindSafe for JournalEntry
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.