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 Freeze for OperationClause
impl RefUnwindSafe for OperationClause
impl Send for OperationClause
impl Sync for OperationClause
impl Unpin for OperationClause
impl UnsafeUnpin for OperationClause
impl UnwindSafe for OperationClause
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