pub struct DispatchPayload {
pub file: String,
}Expand description
Configures the task to have access to dispatch payloads.
Fields§
§file: StringSpecifies the file name to write the content of dispatch payload to. The file is written relative to the task’s local directory.
Trait Implementations§
Source§impl Clone for DispatchPayload
impl Clone for DispatchPayload
Source§fn clone(&self) -> DispatchPayload
fn clone(&self) -> DispatchPayload
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 DispatchPayload
impl Debug for DispatchPayload
Source§impl Default for DispatchPayload
impl Default for DispatchPayload
Source§fn default() -> DispatchPayload
fn default() -> DispatchPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DispatchPayload
impl<'de> Deserialize<'de> for DispatchPayload
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 PartialEq for DispatchPayload
impl PartialEq for DispatchPayload
Source§impl Serialize for DispatchPayload
impl Serialize for DispatchPayload
impl Eq for DispatchPayload
impl StructuralPartialEq for DispatchPayload
Auto Trait Implementations§
impl Freeze for DispatchPayload
impl RefUnwindSafe for DispatchPayload
impl Send for DispatchPayload
impl Sync for DispatchPayload
impl Unpin for DispatchPayload
impl UnwindSafe for DispatchPayload
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.