pub struct GatewayErrorBody {
pub code: Option<String>,
pub error: Option<String>,
pub message: Option<String>,
pub retryable: Option<bool>,
}Expand description
Shape gateway error bodies may take.
Fields§
§code: Option<String>§error: Option<String>§message: Option<String>§retryable: Option<bool>Trait Implementations§
Source§impl Clone for GatewayErrorBody
impl Clone for GatewayErrorBody
Source§impl Debug for GatewayErrorBody
impl Debug for GatewayErrorBody
Source§impl Default for GatewayErrorBody
impl Default for GatewayErrorBody
Source§impl<'de> Deserialize<'de> for GatewayErrorBody
impl<'de> Deserialize<'de> for GatewayErrorBody
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 GatewayErrorBody
impl RefUnwindSafe for GatewayErrorBody
impl Send for GatewayErrorBody
impl Sync for GatewayErrorBody
impl Unpin for GatewayErrorBody
impl UnsafeUnpin for GatewayErrorBody
impl UnwindSafe for GatewayErrorBody
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