pub struct WSResult {
pub id: u64,
/* private fields */
}
Expand description
this is the general response from the Websocket server when a requesthas been sent
if “success” is true, then the “result” can be checked if “suceess” is false, then the “error” should be further explored
Fields§
§id: u64
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WSResult
impl<'de> Deserialize<'de> for WSResult
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
impl StructuralPartialEq for WSResult
Auto Trait Implementations§
impl Freeze for WSResult
impl RefUnwindSafe for WSResult
impl Send for WSResult
impl Sync for WSResult
impl Unpin for WSResult
impl UnwindSafe for WSResult
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