pub struct ModuleInfo {
pub id: String,
pub name: String,
pub version: String,
pub state: Option<String>,
pub license_state: Option<String>,
pub vendor_name: Option<String>,
pub startup_time: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
One item of /data/api/v1/modules/healthy (or /modules/quarantined).
Quarantined items answer a REDUCED shape (openapi + live): only
id/name/version-family fields are guaranteed — state,
licenseState, vendorName, startupTime exist only on fully
loaded modules, so they are Option here or the --quarantined
list would fail to parse.
Fields§
§id: StringModule id, e.g. "com.inductiveautomation.perspective".
name: StringHuman-readable module name.
version: StringModule version string.
state: Option<String>"ACTIVE" / … — fully-loaded modules only.
license_state: Option<String>§vendor_name: Option<String>§startup_time: Option<String>The time the module started — a STRING on the wire (openapi), not epoch ms.
extra: BTreeMap<String, Value>Unknown keys (onStartup, shouldUpgrade, description,
vendorId, selfSigned, certAccepted, reason, …) round-trip.
Trait Implementations§
Source§impl Clone for ModuleInfo
impl Clone for ModuleInfo
Source§fn clone(&self) -> ModuleInfo
fn clone(&self) -> ModuleInfo
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 ModuleInfo
impl Debug for ModuleInfo
Source§impl<'de> Deserialize<'de> for ModuleInfo
impl<'de> Deserialize<'de> for ModuleInfo
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 ModuleInfo
impl PartialEq for ModuleInfo
Source§impl Serialize for ModuleInfo
impl Serialize for ModuleInfo
impl StructuralPartialEq for ModuleInfo
Auto Trait Implementations§
impl Freeze for ModuleInfo
impl RefUnwindSafe for ModuleInfo
impl Send for ModuleInfo
impl Sync for ModuleInfo
impl Unpin for ModuleInfo
impl UnsafeUnpin for ModuleInfo
impl UnwindSafe for ModuleInfo
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