Struct snapshot_trigger_service::config::job::JobParameters
source · pub struct JobParameters {
pub slot_no: Option<u64>,
pub tag: Option<String>,
}
Fields§
§slot_no: Option<u64>
§tag: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for JobParameters
impl Clone for JobParameters
source§fn clone(&self) -> JobParameters
fn clone(&self) -> JobParameters
Returns a copy 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 JobParameters
impl Debug for JobParameters
source§impl<'de> Deserialize<'de> for JobParameters
impl<'de> Deserialize<'de> for JobParameters
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
source§impl JobRunner<JobParameters, (), Error> for SnapshotJobRunner
impl JobRunner<JobParameters, (), Error> for SnapshotJobRunner
source§impl PartialEq<JobParameters> for JobParameters
impl PartialEq<JobParameters> for JobParameters
source§fn eq(&self, other: &JobParameters) -> bool
fn eq(&self, other: &JobParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RunContext<JobParameters, ()> for Context
impl RunContext<JobParameters, ()> for Context
fn run_requested(&self) -> Option<(Uuid, JobParameters)>
fn new_run_started(&mut self) -> Result<(), Error>
fn run_finished(&mut self, output_info: Option<()>) -> Result<(), Error>
source§impl Serialize for JobParameters
impl Serialize for JobParameters
impl Eq for JobParameters
impl StructuralEq for JobParameters
impl StructuralPartialEq for JobParameters
Auto Trait Implementations§
impl RefUnwindSafe for JobParameters
impl Send for JobParameters
impl Sync for JobParameters
impl Unpin for JobParameters
impl UnwindSafe for JobParameters
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.