pub enum CrudPlan {
WrappedReadPlan {
read_plan: ReadPlanTree,
tx_mode: TxMode,
handler: ResolvedHandler,
media: MediaType,
headers_only: bool,
qi: QualifiedIdentifier,
},
MutateReadPlan {
read_plan: ReadPlanTree,
mutate_plan: MutatePlan,
tx_mode: TxMode,
handler: ResolvedHandler,
media: MediaType,
mutation: Mutation,
qi: QualifiedIdentifier,
},
CallReadPlan {
read_plan: ReadPlanTree,
call_plan: CallPlan,
tx_mode: TxMode,
proc: Routine,
handler: ResolvedHandler,
media: MediaType,
inv_method: InvokeMethod,
qi: QualifiedIdentifier,
},
}Expand description
A CRUD plan
Variants§
WrappedReadPlan
Wrapped read plan (GET / HEAD)
MutateReadPlan
Mutate + read plan (POST / PATCH / PUT / DELETE)
CallReadPlan
Call + read plan (RPC)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CrudPlan
impl RefUnwindSafe for CrudPlan
impl Send for CrudPlan
impl Sync for CrudPlan
impl Unpin for CrudPlan
impl UnsafeUnpin for CrudPlan
impl UnwindSafe for CrudPlan
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