pub struct Action {
pub action_uid: String,
pub name: String,
pub status: String,
pub progress: Option<f32>,
pub start_time: Option<String>,
pub end_time: Option<String>,
pub description: Option<String>,
pub error: Option<String>,
pub bdb_uid: Option<u32>,
pub node_uid: Option<u32>,
pub extra: Value,
}
Expand description
Action information Represents an action (operation) in the cluster
Fields§
§action_uid: String
Action’s unique identifier (read-only)
name: String
Action’s name (read-only)
status: String
Current status of the action
Possible values: ‘queued’, ‘starting’, ‘running’, ‘cancelling’, ‘cancelled’, ‘completed’, ‘failed’
progress: Option<f32>
Percent of completed steps in current action (0-100)
start_time: Option<String>
ISO 8601 timestamp when the action was started
end_time: Option<String>
ISO 8601 timestamp when the action completed or failed
description: Option<String>
Human-readable description of the action
error: Option<String>
Error message if the action failed
bdb_uid: Option<u32>
Database UID associated with the action
node_uid: Option<u32>
Node UID associated with the action
extra: Value
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
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
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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