pub struct RealtimeAPIError {
pub type: String,
pub code: Option<String>,
pub message: String,
pub param: Option<String>,
pub event_id: Option<String>,
}
Available on crate feature
realtime
only.Fields§
§type: String
The type of error (e.g., “invalid_request_error”, “server_error”).
code: Option<String>
Error code, if any.
message: String
A human-readable error message.
param: Option<String>
Parameter related to the error, if any.
event_id: Option<String>
The event_id of the client event that caused the error, if applicable.
Trait Implementations§
Source§impl Clone for RealtimeAPIError
impl Clone for RealtimeAPIError
Source§fn clone(&self) -> RealtimeAPIError
fn clone(&self) -> RealtimeAPIError
Returns a copy of the value. Read more
1.0.0 · 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 RealtimeAPIError
impl Debug for RealtimeAPIError
Source§impl<'de> Deserialize<'de> for RealtimeAPIError
impl<'de> Deserialize<'de> for RealtimeAPIError
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 RealtimeAPIError
impl RefUnwindSafe for RealtimeAPIError
impl Send for RealtimeAPIError
impl Sync for RealtimeAPIError
impl Unpin for RealtimeAPIError
impl UnwindSafe for RealtimeAPIError
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