pub struct StatusTransition {
pub state: String,
pub reason: Option<String>,
pub failed_cells: Option<Vec<String>>,
}Expand description
POST /v1/formations/{id}/status — receive a state-transition notification
from the supervisor or an operator tool. Updates the in-memory projection
and emits the matching formation.v1.* CloudEvent to NATS so the
WebSocket stream carries it to connected web-view clients.
Fields§
§state: String§reason: Option<String>§failed_cells: Option<Vec<String>>Trait Implementations§
Source§impl Debug for StatusTransition
impl Debug for StatusTransition
Source§impl<'de> Deserialize<'de> for StatusTransition
impl<'de> Deserialize<'de> for StatusTransition
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 StatusTransition
impl RefUnwindSafe for StatusTransition
impl Send for StatusTransition
impl Sync for StatusTransition
impl Unpin for StatusTransition
impl UnsafeUnpin for StatusTransition
impl UnwindSafe for StatusTransition
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