pub struct RealtimeErrorEvent {
pub error: RealtimeError,
pub event_id: String,
pub type_: String,
}Expand description
Returned when an error occurs, which could be a client problem or a server
Fields§
§error: RealtimeErrorDetails of the error.
event_id: StringThe unique ID of the server event.
type_: StringThe event type, must be error.
Trait Implementations§
Source§impl Clone for RealtimeErrorEvent
impl Clone for RealtimeErrorEvent
Source§fn clone(&self) -> RealtimeErrorEvent
fn clone(&self) -> RealtimeErrorEvent
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 RealtimeErrorEvent
impl Debug for RealtimeErrorEvent
Source§impl<'de> Deserialize<'de> for RealtimeErrorEvent
impl<'de> Deserialize<'de> for RealtimeErrorEvent
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 RealtimeErrorEvent
impl RefUnwindSafe for RealtimeErrorEvent
impl Send for RealtimeErrorEvent
impl Sync for RealtimeErrorEvent
impl Unpin for RealtimeErrorEvent
impl UnsafeUnpin for RealtimeErrorEvent
impl UnwindSafe for RealtimeErrorEvent
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