pub struct SoftwareInventory<B: Bmc> { /* private fields */ }Expand description
Represents a software inventory item in the update service.
Provides access to software version information and metadata.
Implementations§
Source§impl<B: Bmc> SoftwareInventory<B>
impl<B: Bmc> SoftwareInventory<B>
Sourcepub fn raw(&self) -> Arc<SoftwareInventorySchema>
pub fn raw(&self) -> Arc<SoftwareInventorySchema>
Get the raw schema data for this software inventory item.
Returns an Arc to the underlying schema, allowing cheap cloning
and sharing of the data.
Sourcepub fn version(&self) -> Option<VersionRef<'_>>
pub fn version(&self) -> Option<VersionRef<'_>>
Get the version of software inventory item.
Sourcepub fn release_date(
&self,
) -> Option<TaggedType<EdmDateTimeOffset, ReleaseDateTag>>
pub fn release_date( &self, ) -> Option<TaggedType<EdmDateTimeOffset, ReleaseDateTag>>
Get the release date of the software inventory item.
Trait Implementations§
Source§impl<B: Bmc> Resource for SoftwareInventory<B>
impl<B: Bmc> Resource for SoftwareInventory<B>
Source§fn resource_ref(&self) -> &ResourceSchema
fn resource_ref(&self) -> &ResourceSchema
Required function. Must be implemented for Redfish resources.
Source§fn id(&self) -> ResourceIdRef<'_>
fn id(&self) -> ResourceIdRef<'_>
Identifier of the resource.
Source§fn name(&self) -> ResourceNameRef<'_>
fn name(&self) -> ResourceNameRef<'_>
Name of the resource.
Source§fn description(&self) -> Option<ResourceDescriptionRef<'_>>
fn description(&self) -> Option<ResourceDescriptionRef<'_>>
Description of the resource.
Auto Trait Implementations§
impl<B> Freeze for SoftwareInventory<B>
impl<B> RefUnwindSafe for SoftwareInventory<B>where
B: RefUnwindSafe,
impl<B> Send for SoftwareInventory<B>
impl<B> Sync for SoftwareInventory<B>
impl<B> Unpin for SoftwareInventory<B>
impl<B> UnsafeUnpin for SoftwareInventory<B>
impl<B> UnwindSafe for SoftwareInventory<B>where
B: RefUnwindSafe,
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