pub enum OperationKind {
Show 19 variants
RunTypeql,
DefineSchema,
AddAttribute,
RemoveAttribute,
AddEntity,
RemoveEntity,
AddRelation,
RemoveRelation,
AddOwnership,
RemoveOwnership,
ModifyOwnership,
ModifyTypeAnnotations,
ModifyRoleAnnotations,
AddRole,
RemoveRole,
AddRolePlayer,
RemoveRolePlayer,
RenameAttribute,
CopyAttribute,
}Expand description
Authored operation kind from which an execution step was lowered.
This discriminant is carried separately from StepKind: StepKind
controls transaction dispatch, while OperationKind preserves the stable
artifact-level operation identity used by per-step recovery.
Variants§
RunTypeql
Arbitrary authored TypeQL.
DefineSchema
Define a complete initial schema.
AddAttribute
Add an attribute type.
RemoveAttribute
Remove an attribute type.
AddEntity
Add an entity type.
RemoveEntity
Remove an entity type.
AddRelation
Add a relation type.
RemoveRelation
Remove a relation type.
AddOwnership
Add an ownership capability.
RemoveOwnership
Remove an ownership capability.
ModifyOwnership
Modify ownership annotations.
ModifyTypeAnnotations
Modify type annotations.
ModifyRoleAnnotations
Modify role annotations.
AddRole
Add a relation role.
RemoveRole
Remove a relation role.
AddRolePlayer
Add a role player capability.
RemoveRolePlayer
Remove a role player capability.
RenameAttribute
Rename an attribute type.
CopyAttribute
Copy attribute values as a backfill.
Implementations§
Trait Implementations§
Source§impl Clone for OperationKind
impl Clone for OperationKind
Source§fn clone(&self) -> OperationKind
fn clone(&self) -> OperationKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for OperationKind
Source§impl Debug for OperationKind
impl Debug for OperationKind
Source§impl Default for OperationKind
impl Default for OperationKind
Source§fn default() -> OperationKind
fn default() -> OperationKind
Source§impl<'de> Deserialize<'de> for OperationKind
impl<'de> Deserialize<'de> for OperationKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for OperationKind
Source§impl Hash for OperationKind
impl Hash for OperationKind
Source§impl Ord for OperationKind
impl Ord for OperationKind
Source§fn cmp(&self, other: &OperationKind) -> Ordering
fn cmp(&self, other: &OperationKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for OperationKind
impl PartialEq for OperationKind
Source§impl PartialOrd for OperationKind
impl PartialOrd for OperationKind
Source§impl Serialize for OperationKind
impl Serialize for OperationKind
impl StructuralPartialEq for OperationKind
Auto Trait Implementations§
impl Freeze for OperationKind
impl RefUnwindSafe for OperationKind
impl Send for OperationKind
impl Sync for OperationKind
impl Unpin for OperationKind
impl UnsafeUnpin for OperationKind
impl UnwindSafe for OperationKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request