pub struct InspectQueueV1Request {
pub queue_name: String,
pub want_body: bool,
pub limit: Option<usize>,
}
Fields§
§queue_name: String
The name of the scheduled queue
want_body: bool
If true, return the message body in addition to the metadata
limit: Option<usize>
Return up to limit
messages in the queue sample.
Depending on the strategy configured for the queue,
messages may not be directly reachable via this endpoint.
If no limit is provided, all messages in the queue will
be sampled.
Implementations§
Source§impl InspectQueueV1Request
impl InspectQueueV1Request
pub fn apply_to_url(&self, url: &mut Url)
Trait Implementations§
Source§impl Debug for InspectQueueV1Request
impl Debug for InspectQueueV1Request
Source§impl<'de> Deserialize<'de> for InspectQueueV1Request
impl<'de> Deserialize<'de> for InspectQueueV1Request
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 IntoParams for InspectQueueV1Request
impl IntoParams for InspectQueueV1Request
Auto Trait Implementations§
impl Freeze for InspectQueueV1Request
impl RefUnwindSafe for InspectQueueV1Request
impl Send for InspectQueueV1Request
impl Sync for InspectQueueV1Request
impl Unpin for InspectQueueV1Request
impl UnwindSafe for InspectQueueV1Request
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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