pub struct WorkerContract {
pub task_queue: String,
pub actions: Vec<ActionContract>,
}Expand description
The actions a worker queue must serve.
Fields§
§task_queue: StringDeclared task queue.
actions: Vec<ActionContract>Typed activities on the queue.
Trait Implementations§
Source§impl Clone for WorkerContract
impl Clone for WorkerContract
Source§fn clone(&self) -> WorkerContract
fn clone(&self) -> WorkerContract
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 WorkerContract
impl Debug for WorkerContract
Source§impl<'de> Deserialize<'de> for WorkerContract
impl<'de> Deserialize<'de> for WorkerContract
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 WorkerContract
Source§impl PartialEq for WorkerContract
impl PartialEq for WorkerContract
Source§impl Serialize for WorkerContract
impl Serialize for WorkerContract
impl StructuralPartialEq for WorkerContract
Auto Trait Implementations§
impl Freeze for WorkerContract
impl RefUnwindSafe for WorkerContract
impl Send for WorkerContract
impl Sync for WorkerContract
impl Unpin for WorkerContract
impl UnsafeUnpin for WorkerContract
impl UnwindSafe for WorkerContract
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.