pub enum Request {
Show 14 variants
InitSession(SessionInfo),
SetEnvironment(Environment),
Declare {
id: String,
},
SetEvent(Event),
EvalCond {
expr: String,
},
EvalValue {
expr: String,
},
EvalContent {
content: String,
},
AssignExpr {
location: String,
expr: String,
},
AssignValue {
location: String,
value: Value,
},
BindVar {
name: String,
value: Value,
},
IsLocation {
location: String,
},
ExecScript {
script: String,
},
ForeachItems {
array: String,
},
Restore(Value),
}Expand description
A datamodel request.
Variants§
InitSession(SessionInfo)
init_session.
SetEnvironment(Environment)
set_environment.
Declare
declare.
SetEvent(Event)
set_event.
EvalCond
eval_cond.
EvalValue
eval_value.
EvalContent
eval_content.
AssignExpr
assign_expr.
AssignValue
assign_value.
BindVar
bind_var.
IsLocation
is_location.
ExecScript
exec_script.
ForeachItems
foreach_items.
Restore(Value)
restore.
Trait Implementations§
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Forget for Request
impl Freeze for Request
impl Move for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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