pub struct Context {
pub schedule_id: Option<String>,
pub run_id: Option<String>,
pub ruleset_id: Option<String>,
pub source: Option<String>,
pub pipeline: Option<String>,
pub last_success_at: Option<i64>,
pub options: Vec<(String, String)>,
pub dry_run: bool,
}Expand description
What this run is for (host.context()).
Fields§
§schedule_id: Option<String>§run_id: Option<String>§ruleset_id: Option<String>§source: Option<String>The source raw items go into (its name).
pipeline: Option<String>The pipeline Host::pipe runs (its name).
last_success_at: Option<i64>Epoch ms (UTC) of the schedule’s last successful run.
options: Vec<(String, String)>The schedule’s options, as text.
dry_run: boolTrue in --connector-dry-run: nothing is stored, piped or run.
Trait Implementations§
impl StructuralPartialEq for Context
Auto Trait Implementations§
impl Forget for Context
impl Freeze for Context
impl Move for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Context
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