Struct edgedb_protocol::client_message::OptimisticExecute
source · [−]pub struct OptimisticExecute {
pub headers: Headers,
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: Headers
io_format: IoFormat
expected_cardinality: Cardinality
command_text: String
input_typedesc_id: Uuid
output_typedesc_id: Uuid
arguments: Bytes
Implementations
sourceimpl OptimisticExecute
impl OptimisticExecute
pub fn new(
flags: &CompilationFlags,
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more