pub struct OperationState {
pub operation_id: Uuid,
pub operation_type: OperationType,
pub status: OperationStatus,
pub parameters: Value,
pub project_ids: Vec<String>,
pub results: HashMap<String, ProjectResultState>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Persisted state of an operation
Fields§
§operation_id: UuidUnique operation identifier
operation_type: OperationTypeType of operation
status: OperationStatusCurrent status
parameters: ValueOperation parameters (JSON value for flexibility)
project_ids: Vec<String>List of project IDs to process
results: HashMap<String, ProjectResultState>Per-project results
created_at: DateTime<Utc>When the operation was created
updated_at: DateTime<Utc>Last update time
Trait Implementations§
Source§impl Clone for OperationState
impl Clone for OperationState
Source§fn clone(&self) -> OperationState
fn clone(&self) -> OperationState
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 OperationState
impl Debug for OperationState
Source§impl<'de> Deserialize<'de> for OperationState
impl<'de> Deserialize<'de> for OperationState
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 OperationState
impl RefUnwindSafe for OperationState
impl Send for OperationState
impl Sync for OperationState
impl Unpin for OperationState
impl UnsafeUnpin for OperationState
impl UnwindSafe for OperationState
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