pub struct TwilioApiError {
pub code: u32,
pub message: String,
pub more_info: String,
pub status: u16,
}Expand description
Twilio error response.
Fields§
§code: u32Twilio specific error code
message: StringDetail of the error
more_info: StringWhere to find more info on the error
status: u16HTTP status code
Trait Implementations§
Source§impl Debug for TwilioApiError
impl Debug for TwilioApiError
Source§impl<'de> Deserialize<'de> for TwilioApiError
impl<'de> Deserialize<'de> for TwilioApiError
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 Display for TwilioApiError
impl Display for TwilioApiError
Auto Trait Implementations§
impl Freeze for TwilioApiError
impl RefUnwindSafe for TwilioApiError
impl Send for TwilioApiError
impl Sync for TwilioApiError
impl Unpin for TwilioApiError
impl UnwindSafe for TwilioApiError
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