pub struct Item {
pub available_package: Option<SoftwarePackage>,
pub create_time: Option<DateTime<Utc>>,
pub id: Option<String>,
pub installed_package: Option<SoftwarePackage>,
pub origin_type: Option<String>,
pub type_: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
A single piece of inventory on a VM.
This type is not used in any activity, and only used as part of another schema.
Fields§
§available_package: Option<SoftwarePackage>Software package available to be installed on the VM instance.
create_time: Option<DateTime<Utc>>When this inventory item was first detected.
id: Option<String>Identifier for this item, unique across items for this VM.
installed_package: Option<SoftwarePackage>Software package present on the VM instance.
origin_type: Option<String>The origin of this inventory item.
type_: Option<String>The specific type of inventory, correlating to its specific details.
update_time: Option<DateTime<Utc>>When this inventory item was last modified.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Item
impl<'de> Deserialize<'de> for Item
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 Part for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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