pub struct Enqueued {
pub kind: String,
pub queue: Option<String>,
pub payload: Option<Vec<u8>>,
pub scheduled_at_ms: Option<i64>,
pub partition_key: Option<String>,
pub count: Option<usize>,
}Expand description
A description of an enqueue. kind is required; every other field is an optional
matcher, and None means “do not care”.
Fields§
§kind: String§queue: Option<String>§payload: Option<Vec<u8>>§scheduled_at_ms: Option<i64>§partition_key: Option<String>§count: Option<usize>Exactly this many matches. None means “at least one”.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Enqueued
impl RefUnwindSafe for Enqueued
impl Send for Enqueued
impl Sync for Enqueued
impl Unpin for Enqueued
impl UnsafeUnpin for Enqueued
impl UnwindSafe for Enqueued
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more