pub enum RemoteOutcome {
Rows {
rows: Vec<Vec<RemoteValue>>,
},
Documents {
documents: Vec<Vec<RemoteFieldValue>>,
},
Count {
value: u64,
},
Exists {
value: bool,
},
}Expand description
The typed terminal outcome of one remote invocation.
Variants§
Rows
Evidence-validated projected rows in provider order.
Fields
§
rows: Vec<Vec<RemoteValue>>Positional row values per validated output column.
Documents
Evidence-validated fetched documents in provider order.
Fields
§
documents: Vec<Vec<RemoteFieldValue>>Positional field values per validated document column.
Count
The exact number of returned answers.
Exists
Whether at least one answer exists.
Trait Implementations§
Source§impl Clone for RemoteOutcome
impl Clone for RemoteOutcome
Source§fn clone(&self) -> RemoteOutcome
fn clone(&self) -> RemoteOutcome
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 RemoteOutcome
impl Debug for RemoteOutcome
Source§impl<'de> Deserialize<'de> for RemoteOutcome
impl<'de> Deserialize<'de> for RemoteOutcome
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 RemoteOutcome
impl PartialEq for RemoteOutcome
Source§impl Serialize for RemoteOutcome
impl Serialize for RemoteOutcome
impl StructuralPartialEq for RemoteOutcome
Auto Trait Implementations§
impl Freeze for RemoteOutcome
impl RefUnwindSafe for RemoteOutcome
impl Send for RemoteOutcome
impl Sync for RemoteOutcome
impl Unpin for RemoteOutcome
impl UnsafeUnpin for RemoteOutcome
impl UnwindSafe for RemoteOutcome
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