pub struct Queue {
pub name: String,
pub created_at: u64,
pub updated_at: u64,
pub parallelism: u32,
pub lag: u64,
pub paused: bool,
}Expand description
Queue metadata returned by QStash.
Fields§
§name: StringQueue name.
created_at: u64Creation timestamp in milliseconds.
updated_at: u64Last update timestamp in milliseconds.
parallelism: u32Configured parallel consumers.
lag: u64Number of queued messages waiting to be delivered.
paused: boolWhether the queue is paused.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Queue
impl<'de> Deserialize<'de> for Queue
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 Queue
impl StructuralPartialEq for Queue
Auto Trait Implementations§
impl Freeze for Queue
impl RefUnwindSafe for Queue
impl Send for Queue
impl Sync for Queue
impl Unpin for Queue
impl UnsafeUnpin for Queue
impl UnwindSafe for Queue
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