pub struct OperationRef { /* private fields */ }Expand description
Common state for query & mutation references.
Implementations§
Source§impl OperationRef
impl OperationRef
pub fn operation_name(&self) -> &str
pub fn variables(&self) -> &Value
pub fn service(&self) -> &Arc<DataConnectService>
Trait Implementations§
Source§impl Clone for OperationRef
impl Clone for OperationRef
Source§fn clone(&self) -> OperationRef
fn clone(&self) -> OperationRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OperationRef
impl !RefUnwindSafe for OperationRef
impl Send for OperationRef
impl Sync for OperationRef
impl Unpin for OperationRef
impl !UnwindSafe for OperationRef
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