pub struct SocketIssueMessage {
pub kind: String,
pub protocol_version: u8,
pub subscription_id: Option<String>,
pub error: String,
pub message: String,
pub code: String,
pub retryable: bool,
pub retry_after: Option<u64>,
pub suggested_action: Option<String>,
pub docs_url: Option<String>,
pub fatal: bool,
}Expand description
Server-sent protocol, authorization, or quota error.
Fields§
§kind: String§protocol_version: u8§subscription_id: Option<String>Null only when a request did not contain a usable subscription ID.
error: String§message: String§code: String§retryable: bool§retry_after: Option<u64>§suggested_action: Option<String>§docs_url: Option<String>§fatal: boolImplementations§
Trait Implementations§
Source§impl Clone for SocketIssueMessage
impl Clone for SocketIssueMessage
Source§fn clone(&self) -> SocketIssueMessage
fn clone(&self) -> SocketIssueMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SocketIssueMessage
impl Debug for SocketIssueMessage
Source§impl<'de> Deserialize<'de> for SocketIssueMessage
impl<'de> Deserialize<'de> for SocketIssueMessage
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 SocketIssueMessage
impl RefUnwindSafe for SocketIssueMessage
impl Send for SocketIssueMessage
impl Sync for SocketIssueMessage
impl Unpin for SocketIssueMessage
impl UnsafeUnpin for SocketIssueMessage
impl UnwindSafe for SocketIssueMessage
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