pub enum OperationClause {
Show 19 variants
Intent(String),
Direction {
kind: String,
},
Actor {
actor: String,
},
AccessPublic,
AccessPolicyGoverned {
bindings: Vec<PolicyBinding>,
},
Input {
reference: String,
},
Output {
reference: String,
},
State {
reference: String,
},
Effect {
kind: String,
reference: String,
},
Transaction {
kind: String,
},
Failure {
code: String,
kinds: Vec<String>,
message: String,
},
IdempotencyKeyed {
field: String,
},
IdempotencyInherent,
IdempotencyNotApplicable {
reason: String,
explanation: String,
},
ConcurrencyUnique {
field: String,
},
ConcurrencyOptimistic {
field: String,
},
ConcurrencyReadSnapshot,
EvidenceOperationTrace,
LifecycleSynchronousRequestResponse,
}Expand description
One authored operation clause. Strings carry the raw symbol_ref / kind text; the application module resolves and lowers them.
Variants§
Intent(String)
Direction
Actor
AccessPublic
AccessPolicyGoverned
Fields
§
bindings: Vec<PolicyBinding>Input
Output
State
Effect
Transaction
Failure
IdempotencyKeyed
IdempotencyInherent
IdempotencyNotApplicable
ConcurrencyUnique
ConcurrencyOptimistic
ConcurrencyReadSnapshot
EvidenceOperationTrace
LifecycleSynchronousRequestResponse
Trait Implementations§
Source§impl Clone for OperationClause
impl Clone for OperationClause
Source§impl Debug for OperationClause
impl Debug for OperationClause
Source§impl From<&OperationClause> for OperationClause
impl From<&OperationClause> for OperationClause
Source§fn from(c: &OperationClause) -> Self
fn from(c: &OperationClause) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OperationClause
impl PartialEq for OperationClause
impl StructuralPartialEq for OperationClause
Auto Trait Implementations§
impl Forget for OperationClause
impl Freeze for OperationClausewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PolicyBinding>: Freeze,
PhantomData<String>: Freeze,
impl Move for OperationClause
impl RefUnwindSafe for OperationClause
impl Send for OperationClausewhere
RawVecInner: Send,
impl Sync for OperationClausewhere
RawVecInner: Sync,
impl Unpin for OperationClause
impl UnsafeUnpin for OperationClausewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PolicyBinding>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for OperationClausewhere
RawVecInner: UnwindSafe,
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