pub struct BackfillJob {Show 19 fields
pub format_version: u32,
pub job_id: String,
pub state: String,
pub config_updated_at: Option<String>,
pub prefix: Option<String>,
pub skip_existing: SkipExisting,
pub dry_run: bool,
pub listed: u64,
pub enqueued: u64,
pub pulled: u64,
pub skipped_existing: u64,
pub failed: u64,
pub bytes: u64,
pub last_key: Option<String>,
pub last_error: Option<BackfillLastError>,
pub failed_keys: Vec<String>,
pub started_at: Option<String>,
pub updated_at: Option<String>,
pub owner: Option<BackfillOwner>,
}Expand description
The backfill checkpoint document as stored on the server.
Fields§
§format_version: u32§job_id: String§state: String§config_updated_at: Option<String>§prefix: Option<String>§skip_existing: SkipExisting§dry_run: bool§listed: u64§enqueued: u64§pulled: u64§skipped_existing: u64§failed: u64§bytes: u64§last_key: Option<String>§last_error: Option<BackfillLastError>§failed_keys: Vec<String>§started_at: Option<String>§updated_at: Option<String>§owner: Option<BackfillOwner>Implementations§
Source§impl BackfillJob
impl BackfillJob
Sourcepub fn is_terminal(&self) -> bool
pub fn is_terminal(&self) -> bool
Whether the job can still change. --watch stops on a terminal state;
an unknown state from a newer server is treated as still running so the
watcher keeps refreshing rather than declaring victory early.
Trait Implementations§
Source§impl Clone for BackfillJob
impl Clone for BackfillJob
Source§fn clone(&self) -> BackfillJob
fn clone(&self) -> BackfillJob
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 BackfillJob
impl Debug for BackfillJob
Source§impl Default for BackfillJob
impl Default for BackfillJob
Source§fn default() -> BackfillJob
fn default() -> BackfillJob
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BackfillJob
impl<'de> Deserialize<'de> for BackfillJob
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
impl Eq for BackfillJob
Source§impl PartialEq for BackfillJob
impl PartialEq for BackfillJob
Source§impl Serialize for BackfillJob
impl Serialize for BackfillJob
impl StructuralPartialEq for BackfillJob
Auto Trait Implementations§
impl Freeze for BackfillJob
impl RefUnwindSafe for BackfillJob
impl Send for BackfillJob
impl Sync for BackfillJob
impl Unpin for BackfillJob
impl UnsafeUnpin for BackfillJob
impl UnwindSafe for BackfillJob
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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