pub struct SurrealMessage {
pub id: String,
pub method: String,
pub params: Value,
}
Fields§
§id: String
§method: String
§params: Value
Trait Implementations§
Source§impl Debug for SurrealMessage
impl Debug for SurrealMessage
Source§impl<'de> Deserialize<'de> for SurrealMessage
impl<'de> Deserialize<'de> for SurrealMessage
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 SurrealMessage
impl RefUnwindSafe for SurrealMessage
impl Send for SurrealMessage
impl Sync for SurrealMessage
impl Unpin for SurrealMessage
impl UnwindSafe for SurrealMessage
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