pub struct SoftwareStateItem {
pub software_item_id: Uuid,
pub name: String,
pub icon_url: Option<String>,
pub hosts: Vec<SoftwareStateHostEntry>,
}Expand description
A single software item entry in SoftwareStatesPayload.
Fields§
§software_item_id: UuidSoftware item UUID.
name: StringHuman-readable software item name.
icon_url: Option<String>Optional HTTPS URL to an icon/logo image.
hosts: Vec<SoftwareStateHostEntry>Per-host version data for this software item.
Trait Implementations§
Source§impl Clone for SoftwareStateItem
impl Clone for SoftwareStateItem
Source§fn clone(&self) -> SoftwareStateItem
fn clone(&self) -> SoftwareStateItem
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 SoftwareStateItem
impl Debug for SoftwareStateItem
Source§impl<'de> Deserialize<'de> for SoftwareStateItem
impl<'de> Deserialize<'de> for SoftwareStateItem
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 Eq for SoftwareStateItem
Source§impl PartialEq for SoftwareStateItem
impl PartialEq for SoftwareStateItem
Source§fn eq(&self, other: &SoftwareStateItem) -> bool
fn eq(&self, other: &SoftwareStateItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SoftwareStateItem
impl Serialize for SoftwareStateItem
impl StructuralPartialEq for SoftwareStateItem
Source§impl WireValidate for SoftwareStateItem
impl WireValidate for SoftwareStateItem
Source§fn wire_validate(&self) -> Result<(), WireValidationError>
fn wire_validate(&self) -> Result<(), WireValidationError>
Validate that all fields are within wire protocol size limits.
Auto Trait Implementations§
impl Freeze for SoftwareStateItem
impl RefUnwindSafe for SoftwareStateItem
impl Send for SoftwareStateItem
impl Sync for SoftwareStateItem
impl Unpin for SoftwareStateItem
impl UnsafeUnpin for SoftwareStateItem
impl UnwindSafe for SoftwareStateItem
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.