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 · 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
Source§impl PartialEq for SoftwareStateItem
impl PartialEq for SoftwareStateItem
Source§impl Serialize for SoftwareStateItem
impl Serialize 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.
impl Eq for SoftwareStateItem
impl StructuralPartialEq for SoftwareStateItem
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