pub enum ExecuteResult {
Ok {
ok: True,
result: Option<Value>,
},
Err {
ok: False,
error: ExecuteError,
},
}Expand description
Body of an execute.command.response message.
Variants§
Trait Implementations§
Source§impl Clone for ExecuteResult
impl Clone for ExecuteResult
Source§fn clone(&self) -> ExecuteResult
fn clone(&self) -> ExecuteResult
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 ExecuteResult
impl Debug for ExecuteResult
Source§impl<'de> Deserialize<'de> for ExecuteResult
impl<'de> Deserialize<'de> for ExecuteResult
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 ExecuteResult
impl PartialEq for ExecuteResult
Source§fn eq(&self, other: &ExecuteResult) -> bool
fn eq(&self, other: &ExecuteResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExecuteResult
impl Serialize for ExecuteResult
impl StructuralPartialEq for ExecuteResult
Auto Trait Implementations§
impl Freeze for ExecuteResult
impl RefUnwindSafe for ExecuteResult
impl Send for ExecuteResult
impl Sync for ExecuteResult
impl Unpin for ExecuteResult
impl UnsafeUnpin for ExecuteResult
impl UnwindSafe for ExecuteResult
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