#[non_exhaustive]pub struct BackfillJob {
pub state: State,
pub trigger: Trigger,
pub last_start_time: Option<Timestamp>,
pub last_end_time: Option<Timestamp>,
pub errors: Vec<Error>,
/* private fields */
}
Expand description
Represents a backfill job on a specific stream object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.state: State
Output only. Backfill job state.
trigger: Trigger
Backfill job’s triggering reason.
last_start_time: Option<Timestamp>
Output only. Backfill job’s start time.
last_end_time: Option<Timestamp>
Output only. Backfill job’s end time.
errors: Vec<Error>
Output only. Errors which caused the backfill job to fail.
Implementations§
Source§impl BackfillJob
impl BackfillJob
pub fn new() -> Self
Sourcepub fn set_trigger<T: Into<Trigger>>(self, v: T) -> Self
pub fn set_trigger<T: Into<Trigger>>(self, v: T) -> Self
Sets the value of trigger.
Sourcepub fn set_last_start_time<T>(self, v: T) -> Self
pub fn set_last_start_time<T>(self, v: T) -> Self
Sets the value of last_start_time.
Sourcepub fn set_or_clear_last_start_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_last_start_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of last_start_time.
Sourcepub fn set_last_end_time<T>(self, v: T) -> Self
pub fn set_last_end_time<T>(self, v: T) -> Self
Sets the value of last_end_time.
Sourcepub fn set_or_clear_last_end_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_last_end_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of last_end_time.
Sourcepub fn set_errors<T, V>(self, v: T) -> Self
pub fn set_errors<T, V>(self, v: T) -> Self
Sets the value of errors.
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 · 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 Message for BackfillJob
impl Message for BackfillJob
Source§impl PartialEq for BackfillJob
impl PartialEq 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 UnwindSafe for BackfillJob
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