pub struct MessageAttemptListByEndpointOptions {
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 before: Option<String>,
pub after: Option<String>,
pub with_content: Option<bool>,
pub with_msg: 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
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
with_msg: Option<bool>
When true
, the message information is included in the response
event_types: Option<Vec<String>>
Filter response based on the event type
Trait Implementations§
Source§impl Default for MessageAttemptListByEndpointOptions
impl Default for MessageAttemptListByEndpointOptions
Source§fn default() -> MessageAttemptListByEndpointOptions
fn default() -> MessageAttemptListByEndpointOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageAttemptListByEndpointOptions
impl RefUnwindSafe for MessageAttemptListByEndpointOptions
impl Send for MessageAttemptListByEndpointOptions
impl Sync for MessageAttemptListByEndpointOptions
impl Unpin for MessageAttemptListByEndpointOptions
impl UnwindSafe for MessageAttemptListByEndpointOptions
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