pub struct BatchOperation {Show 18 fields
pub id: Uuid,
pub op_kind: BatchOperationKind,
pub filter: Json<BatchOperationFilter>,
pub spec: Json<BatchOperationSpec>,
pub state: BatchOperationState,
pub submitted_by: Option<String>,
pub submitted_at: DateTime<Utc>,
pub started_at: Option<DateTime<Utc>>,
pub finalized_at: Option<DateTime<Utc>>,
pub cursor: Option<Json<BatchOperationCursor>>,
pub total_matched: Option<i64>,
pub processed: i64,
pub skipped: i64,
pub errored: i64,
pub last_error: Option<String>,
pub runner_instance: Option<Uuid>,
pub retention_until: Option<DateTime<Utc>>,
pub updated_at: DateTime<Utc>,
}Fields§
§id: Uuid§op_kind: BatchOperationKind§filter: Json<BatchOperationFilter>§spec: Json<BatchOperationSpec>§state: BatchOperationState§submitted_by: Option<String>§submitted_at: DateTime<Utc>§started_at: Option<DateTime<Utc>>§finalized_at: Option<DateTime<Utc>>§cursor: Option<Json<BatchOperationCursor>>§total_matched: Option<i64>§processed: i64§skipped: i64§errored: i64§last_error: Option<String>§runner_instance: Option<Uuid>§retention_until: Option<DateTime<Utc>>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for BatchOperation
impl Clone for BatchOperation
Source§fn clone(&self) -> BatchOperation
fn clone(&self) -> BatchOperation
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 BatchOperation
impl Debug for BatchOperation
Source§impl<'r> FromRow<'r, PgRow> for BatchOperation
impl<'r> FromRow<'r, PgRow> for BatchOperation
Auto Trait Implementations§
impl Freeze for BatchOperation
impl RefUnwindSafe for BatchOperation
impl Send for BatchOperation
impl Sync for BatchOperation
impl Unpin for BatchOperation
impl UnsafeUnpin for BatchOperation
impl UnwindSafe for BatchOperation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more