pub struct MutationService<'a> { /* private fields */ }Implementations§
Source§impl<'a> MutationService<'a>
impl<'a> MutationService<'a>
pub const fn new(graph: &'a GraphHandle) -> Self
pub fn apply( &self, request: MutationRequest, context: MutationContext, ) -> Result<CommittedChangeSet>
pub fn apply_with_result( &self, request: MutationRequest, context: MutationContext, ) -> Result<(CommittedChangeSet, MutationResult)>
pub fn apply_idempotent( &self, request: MutationRequest, context: MutationContext, fingerprint: &str, ) -> Result<MutationOutcome>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for MutationService<'a>
impl<'a> !UnwindSafe for MutationService<'a>
impl<'a> Freeze for MutationService<'a>
impl<'a> Send for MutationService<'a>
impl<'a> Sync for MutationService<'a>
impl<'a> Unpin for MutationService<'a>
impl<'a> UnsafeUnpin for MutationService<'a>
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