pub struct WorkflowStreamDescription {
pub stream_name: String,
pub status: String,
pub last_offset: i64,
pub total_items: u64,
pub pending_items: u64,
pub opened_at: Option<String>,
pub last_appended_at: Option<String>,
pub closed_at: Option<String>,
pub error_reason: Option<String>,
pub retention_seconds: Option<u64>,
pub raw: HashMap<String, Value>,
}Expand description
Lifecycle and backlog metadata for one run-scoped Workflow Stream.
Fields§
§stream_name: String§status: String§last_offset: i64§total_items: u64§pending_items: u64§opened_at: Option<String>§last_appended_at: Option<String>§closed_at: Option<String>§error_reason: Option<String>§retention_seconds: Option<u64>§raw: HashMap<String, Value>Implementations§
Source§impl WorkflowStreamDescription
impl WorkflowStreamDescription
pub fn is_terminal(&self) -> bool
Trait Implementations§
Source§impl Clone for WorkflowStreamDescription
impl Clone for WorkflowStreamDescription
Source§fn clone(&self) -> WorkflowStreamDescription
fn clone(&self) -> WorkflowStreamDescription
Returns a copy 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 WorkflowStreamDescription
impl Debug for WorkflowStreamDescription
Source§impl<'de> Deserialize<'de> for WorkflowStreamDescription
impl<'de> Deserialize<'de> for WorkflowStreamDescription
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 WorkflowStreamDescription
impl RefUnwindSafe for WorkflowStreamDescription
impl Send for WorkflowStreamDescription
impl Sync for WorkflowStreamDescription
impl Unpin for WorkflowStreamDescription
impl UnwindSafe for WorkflowStreamDescription
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