pub struct NextIn {
pub batch: Option<i32>,
pub expires: Option<String>,
pub name: Option<String>,
pub no_wait: Option<bool>,
pub stream: Option<String>,
}Fields§
§batch: Option<i32>Batch is how many messages to pull (1–1000, default 1).
expires: Option<String>Expires is how long to wait for messages, e.g. "5s" (default "30s", max "60s").
name: Option<String>Name is the consumer name, from the path.
no_wait: Option<bool>NoWait answers immediately with whatever is available instead of waiting.
stream: Option<String>Stream is the stream name, from the path.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NextIn
impl<'de> Deserialize<'de> for NextIn
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 StructuralPartialEq for NextIn
Auto Trait Implementations§
impl Freeze for NextIn
impl RefUnwindSafe for NextIn
impl Send for NextIn
impl Sync for NextIn
impl Unpin for NextIn
impl UnsafeUnpin for NextIn
impl UnwindSafe for NextIn
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