pub struct StateMachine {
pub id: String,
pub name: String,
pub state: String,
pub status: String,
pub progress: Option<f64>,
pub created: Option<String>,
pub updated: Option<String>,
pub error: Option<String>,
}
Expand description
State machine status (for long-running operations)
Fields§
§id: String
§name: String
§state: String
§status: String
§progress: Option<f64>
§created: Option<String>
§updated: Option<String>
§error: Option<String>
Trait Implementations§
Source§impl Clone for StateMachine
impl Clone for StateMachine
Source§fn clone(&self) -> StateMachine
fn clone(&self) -> StateMachine
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 StateMachine
impl Debug for StateMachine
Source§impl<'de> Deserialize<'de> for StateMachine
impl<'de> Deserialize<'de> for StateMachine
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 StateMachine
impl RefUnwindSafe for StateMachine
impl Send for StateMachine
impl Sync for StateMachine
impl Unpin for StateMachine
impl UnwindSafe for StateMachine
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