pub struct ContextOperation {Show 14 fields
pub id: String,
pub kind: ContextOperationKind,
pub state: ContextOperationState,
pub phase: String,
pub processed: u64,
pub total: u64,
pub artifact_ref: Option<String>,
pub result: Option<Value>,
pub error: Option<String>,
pub error_code: Option<String>,
pub created_at_ms: i64,
pub updated_at_ms: i64,
pub version: u64,
pub next_poll_after_ms: Option<u64>,
}Fields§
§id: String§kind: ContextOperationKind§state: ContextOperationState§phase: String§processed: u64§total: u64§artifact_ref: Option<String>§result: Option<Value>§error: Option<String>§error_code: Option<String>Stable machine-readable terminal/retry classification. Provider and DB
messages remain in error and are never reused as protocol codes.
created_at_ms: i64§updated_at_ms: i64§version: u64§next_poll_after_ms: Option<u64>Trait Implementations§
Source§impl Clone for ContextOperation
impl Clone for ContextOperation
Source§fn clone(&self) -> ContextOperation
fn clone(&self) -> ContextOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContextOperation
impl Debug for ContextOperation
Source§impl<'de> Deserialize<'de> for ContextOperation
impl<'de> Deserialize<'de> for ContextOperation
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 ContextOperation
impl RefUnwindSafe for ContextOperation
impl Send for ContextOperation
impl Sync for ContextOperation
impl Unpin for ContextOperation
impl UnsafeUnpin for ContextOperation
impl UnwindSafe for ContextOperation
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