pub struct WistiaError {
pub message: String,
pub code: Option<String>,
pub detail: Option<String>,
}Expand description
An error returned from the Wistia API, along with a custom error code from the Wistia side.
Fields§
§message: String§code: Option<String>§detail: Option<String>Trait Implementations§
Source§impl Debug for WistiaError
impl Debug for WistiaError
Source§impl Default for WistiaError
impl Default for WistiaError
Source§fn default() -> WistiaError
fn default() -> WistiaError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WistiaError
impl<'de> Deserialize<'de> for WistiaError
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
Auto Trait Implementations§
impl Freeze for WistiaError
impl RefUnwindSafe for WistiaError
impl Send for WistiaError
impl Sync for WistiaError
impl Unpin for WistiaError
impl UnsafeUnpin for WistiaError
impl UnwindSafe for WistiaError
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