pub struct MsiInventoryReceipt {
pub package_name: String,
pub product_code: String,
pub upgrade_code: Option<String>,
pub scope: InstallScope,
}Expand description
The MSI inventory receipt stored for a package.
Fields§
§package_name: StringPackage name.
product_code: StringProduct code reported by the MSI.
upgrade_code: Option<String>Optional upgrade code reported by the MSI.
scope: InstallScopeInstall scope recorded for the package.
Trait Implementations§
Source§impl Clone for MsiInventoryReceipt
impl Clone for MsiInventoryReceipt
Source§fn clone(&self) -> MsiInventoryReceipt
fn clone(&self) -> MsiInventoryReceipt
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 MsiInventoryReceipt
impl Debug for MsiInventoryReceipt
Source§impl<'de> Deserialize<'de> for MsiInventoryReceipt
impl<'de> Deserialize<'de> for MsiInventoryReceipt
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 MsiInventoryReceipt
impl PartialEq for MsiInventoryReceipt
Source§impl Serialize for MsiInventoryReceipt
impl Serialize for MsiInventoryReceipt
impl Eq for MsiInventoryReceipt
impl StructuralPartialEq for MsiInventoryReceipt
Auto Trait Implementations§
impl Freeze for MsiInventoryReceipt
impl RefUnwindSafe for MsiInventoryReceipt
impl Send for MsiInventoryReceipt
impl Sync for MsiInventoryReceipt
impl Unpin for MsiInventoryReceipt
impl UnwindSafe for MsiInventoryReceipt
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