pub struct MutationRequest {
pub mutation: GraphMutation,
pub response: Sender<MutationResult>,
}Expand description
A request to mutate the graph, with a response channel
Fields§
§mutation: GraphMutation§response: Sender<MutationResult>Implementations§
Source§impl MutationRequest
impl MutationRequest
pub fn new(mutation: GraphMutation) -> (Self, Receiver<MutationResult>)
Auto Trait Implementations§
impl Freeze for MutationRequest
impl !RefUnwindSafe for MutationRequest
impl Send for MutationRequest
impl Sync for MutationRequest
impl Unpin for MutationRequest
impl UnsafeUnpin for MutationRequest
impl !UnwindSafe for MutationRequest
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