pub enum MutationAnswer {
Rewrite(Rewrite),
Rename(Rename),
Move(Move),
MoveSymbol(MoveSymbol),
Batch(Batch),
}Expand description
The result of a mutation intent. Queries have no variant here.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MutationAnswer
impl Clone for MutationAnswer
Source§impl Debug for MutationAnswer
impl Debug for MutationAnswer
Source§impl From<MutationAnswer> for Answer
impl From<MutationAnswer> for Answer
Source§fn from(result: MutationAnswer) -> Self
fn from(result: MutationAnswer) -> Self
Converts to this type from the input type.
Source§impl Mutation for MutationAnswer
impl Mutation for MutationAnswer
Source§impl Serialize for MutationAnswer
impl Serialize for MutationAnswer
Auto Trait Implementations§
impl Freeze for MutationAnswer
impl RefUnwindSafe for MutationAnswer
impl Send for MutationAnswer
impl Sync for MutationAnswer
impl Unpin for MutationAnswer
impl UnsafeUnpin for MutationAnswer
impl UnwindSafe for MutationAnswer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more