pub struct PackageStatus {
pub name: String,
pub status: String,
pub installed_version: Option<String>,
}Expand description
The installed state of one package, from GET /api/fleet/epm/packages/{name}.
The registry’s latestVersion is deliberately not kept: it moves on a
registry refresh and would make two snapshots of one installation unequal.
Fields§
§name: String§status: String§installed_version: Option<String>Trait Implementations§
Source§impl Clone for PackageStatus
impl Clone for PackageStatus
Source§fn clone(&self) -> PackageStatus
fn clone(&self) -> PackageStatus
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 PackageStatus
impl Debug for PackageStatus
impl Eq for PackageStatus
Source§impl PartialEq for PackageStatus
impl PartialEq for PackageStatus
Source§impl Serialize for PackageStatus
impl Serialize for PackageStatus
impl StructuralPartialEq for PackageStatus
Auto Trait Implementations§
impl Freeze for PackageStatus
impl RefUnwindSafe for PackageStatus
impl Send for PackageStatus
impl Sync for PackageStatus
impl Unpin for PackageStatus
impl UnsafeUnpin for PackageStatus
impl UnwindSafe for PackageStatus
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,
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.