pub struct DriverResp {
pub ok: bool,
pub error: Option<String>,
pub dialect: String,
pub steps: Vec<Value>,
}Expand description
Response from one driver invocation.
Fields§
§ok: boolWhether every op in the invocation succeeded.
error: Option<String>Failure message when ok is false.
dialect: StringDialect the driver negotiated.
steps: Vec<Value>Per-op result JSON, in request order.
Implementations§
Trait Implementations§
Source§impl Debug for DriverResp
impl Debug for DriverResp
Source§impl Default for DriverResp
impl Default for DriverResp
Source§fn default() -> DriverResp
fn default() -> DriverResp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DriverResp
impl<'de> Deserialize<'de> for DriverResp
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 DriverResp
impl RefUnwindSafe for DriverResp
impl Send for DriverResp
impl Sync for DriverResp
impl Unpin for DriverResp
impl UnsafeUnpin for DriverResp
impl UnwindSafe for DriverResp
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