Struct SlotStatus
#[non_exhaustive]pub struct SlotStatus {Show 22 fields
pub class: Option<String>,
pub device: Option<String>,
pub slot_type: Option<SlotType>,
pub bootname: Option<String>,
pub state: Option<SlotState>,
pub description: Option<String>,
pub parent: Option<String>,
pub mountpoint: Option<String>,
pub boot_status: Option<BootStatus>,
pub bundle_compatible: Option<String>,
pub bundle_version: Option<String>,
pub bundle_description: Option<String>,
pub bundle_build: Option<String>,
pub bundle_hash: Option<String>,
pub status: Option<InstallStatus>,
pub sha256: Option<String>,
pub size: Option<u64>,
pub installed_transaction: Option<String>,
pub installed_timestamp: Option<String>,
pub installed_count: Option<u32>,
pub activated_timestamp: Option<String>,
pub activated_count: Option<u32>,
}Expand description
The status of one slot, as returned by GetSlotStatus.
RAUC sends the status as a dictionary and leaves out keys that have no value, so all fields are optional. The struct drops keys it doesn’t name.
Upstream documentation: https://rauc.readthedocs.io/en/latest/reference.html#slot-status-file.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.class: Option<String>The slot class, for example rootfs.
device: Option<String>The device path of the slot.
slot_type: Option<SlotType>The type of the slot.
bootname: Option<String>The name the bootloader uses for the slot.
state: Option<SlotState>The state of the slot.
description: Option<String>The description from the system configuration.
parent: Option<String>The name of the parent slot.
mountpoint: Option<String>Where the slot is mounted.
boot_status: Option<BootStatus>The boot status. Only slots with a boot name have it.
bundle_compatible: Option<String>The compatible string of the bundle that was installed.
bundle_version: Option<String>The version of the bundle that was installed.
bundle_description: Option<String>The description of the bundle that was installed.
bundle_build: Option<String>The build ID of the bundle that was installed.
bundle_hash: Option<String>The manifest hash of the bundle that was installed.
Added in RAUC 1.9.
status: Option<InstallStatus>The result of the latest update.
sha256: Option<String>The SHA-256 digest of the slot content.
size: Option<u64>The size of the slot content in bytes.
installed_transaction: Option<String>The ID of the transaction that installed the content.
Added in RAUC 1.10.
installed_timestamp: Option<String>The time of the latest installation as an ISO 8601 string.
installed_count: Option<u32>How often the slot was updated.
activated_timestamp: Option<String>The time of the latest activation as an ISO 8601 string.
activated_count: Option<u32>How often the slot was activated.
Trait Implementations§
§impl Clone for SlotStatus
impl Clone for SlotStatus
§fn clone(&self) -> SlotStatus
fn clone(&self) -> SlotStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more