pub struct Response { /* private fields */ }
Expand description
Current status of a previously submitted message
Implementations§
Source§impl Response
impl Response
Sourcepub fn channel(&self) -> Channel
pub fn channel(&self) -> Channel
Channel message was sent through
Channel::Unknown if no valid message status returned.
Sourcepub fn status(&self) -> Status
pub fn status(&self) -> Status
Status of the message
Status::Unknown if no valid message status returned.
Sourcepub fn updated_at(&self) -> DateTime<Utc>
pub fn updated_at(&self) -> DateTime<Utc>
When the status was last updated
Will be set to current UTC time if no valid message status retured.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
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 Response
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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