pub struct RemoteResponse {
pub id: Value,
pub status: ResponseStatus,
pub result: Option<Value>,
pub error: Option<String>,
}Expand description
The server’s answer to a single RemoteCommand.
Fields§
§id: Value§status: ResponseStatus§result: Option<Value>§error: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for RemoteResponse
impl Clone for RemoteResponse
Source§impl Debug for RemoteResponse
impl Debug for RemoteResponse
Source§impl<'de> Deserialize<'de> for RemoteResponse
impl<'de> Deserialize<'de> for RemoteResponse
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
Source§impl PartialEq for RemoteResponse
impl PartialEq for RemoteResponse
Source§impl Serialize for RemoteResponse
impl Serialize for RemoteResponse
impl StructuralPartialEq for RemoteResponse
Auto Trait Implementations§
impl Freeze for RemoteResponse
impl RefUnwindSafe for RemoteResponse
impl Send for RemoteResponse
impl Sync for RemoteResponse
impl Unpin for RemoteResponse
impl UnsafeUnpin for RemoteResponse
impl UnwindSafe for RemoteResponse
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