pub struct RealtimeError {
pub message: String,
pub type: String,
pub code: Option<String>,
pub event_id: Option<String>,
pub param: Option<String>,
}Expand description
Error details returned in the error server event.
Fields§
§message: String§type: String§code: Option<String>§event_id: Option<String>§param: Option<String>Trait Implementations§
Source§impl Clone for RealtimeError
impl Clone for RealtimeError
Source§fn clone(&self) -> RealtimeError
fn clone(&self) -> RealtimeError
Returns a duplicate 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 RealtimeError
impl Debug for RealtimeError
Source§impl<'de> Deserialize<'de> for RealtimeError
impl<'de> Deserialize<'de> for RealtimeError
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 RealtimeError
impl RefUnwindSafe for RealtimeError
impl Send for RealtimeError
impl Sync for RealtimeError
impl Unpin for RealtimeError
impl UnsafeUnpin for RealtimeError
impl UnwindSafe for RealtimeError
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