pub struct MessageAttemptListOptions {
pub limit: Option<i32>,
pub iterator: Option<String>,
pub status: Option<MessageStatus>,
pub status_code_class: Option<StatusCodeClass>,
pub channel: Option<String>,
pub tag: Option<String>,
pub endpoint_id: Option<String>,
pub before: Option<String>,
pub after: Option<String>,
pub with_content: Option<bool>,
pub event_types: Option<Vec<String>>,
}
Fields§
§limit: Option<i32>
Limit the number of returned items
iterator: Option<String>
The iterator returned from a prior invocation
status: Option<MessageStatus>
Filter response based on the status of the attempt: Success (0), Pending (1), Failed (2), or Sending (3)
status_code_class: Option<StatusCodeClass>
Filter response based on the HTTP status code
channel: Option<String>
Filter response based on the channel
tag: Option<String>
Filter response based on the tag
endpoint_id: Option<String>
Filter the attempts based on the attempted endpoint
before: Option<String>
Only include items created before a certain date
RFC3339 date string.
after: Option<String>
Only include items created after a certain date
RFC3339 date string.
with_content: Option<bool>
When true
attempt content is included in the response
event_types: Option<Vec<String>>
Filter response based on the event type
Trait Implementations§
Source§impl Default for MessageAttemptListOptions
impl Default for MessageAttemptListOptions
Source§fn default() -> MessageAttemptListOptions
fn default() -> MessageAttemptListOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageAttemptListOptions
impl RefUnwindSafe for MessageAttemptListOptions
impl Send for MessageAttemptListOptions
impl Sync for MessageAttemptListOptions
impl Unpin for MessageAttemptListOptions
impl UnwindSafe for MessageAttemptListOptions
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