Struct edgedb_protocol::client_message::OptimisticExecute
source · [−]pub struct OptimisticExecute {
pub headers: KeyValues,
pub io_format: IoFormat,
pub expected_cardinality: Cardinality,
pub command_text: String,
pub input_typedesc_id: Uuid,
pub output_typedesc_id: Uuid,
pub arguments: Bytes,
}Fields
headers: KeyValuesio_format: IoFormatexpected_cardinality: Cardinalitycommand_text: Stringinput_typedesc_id: Uuidoutput_typedesc_id: Uuidarguments: BytesImplementations
sourceimpl OptimisticExecute
impl OptimisticExecute
pub fn new(
flags: &CompilationOptions,
query: &str,
arguments: impl Into<Bytes>,
input_typedesc_id: Uuid,
output_typedesc_id: Uuid
) -> OptimisticExecute
Trait Implementations
sourceimpl Clone for OptimisticExecute
impl Clone for OptimisticExecute
sourcefn clone(&self) -> OptimisticExecute
fn clone(&self) -> OptimisticExecute
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for OptimisticExecute
impl Debug for OptimisticExecute
sourceimpl PartialEq<OptimisticExecute> for OptimisticExecute
impl PartialEq<OptimisticExecute> for OptimisticExecute
sourcefn eq(&self, other: &OptimisticExecute) -> bool
fn eq(&self, other: &OptimisticExecute) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &OptimisticExecute) -> bool
fn ne(&self, other: &OptimisticExecute) -> bool
This method tests for !=.
impl Eq for OptimisticExecute
impl StructuralEq for OptimisticExecute
impl StructuralPartialEq for OptimisticExecute
Auto Trait Implementations
impl RefUnwindSafe for OptimisticExecute
impl Send for OptimisticExecute
impl Sync for OptimisticExecute
impl Unpin for OptimisticExecute
impl UnwindSafe for OptimisticExecute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more