pub struct ScriptLayoutContext { /* private fields */ }
Expand description
Context for Data API script execution.
Scripts within the Data API always have to be executed together with another request. While it
is possible to execute a script standalone through a GET
request, it is highly advised to not
do that since it is both length restricted and exposing any sent data in server logs.
The script context defines a find
on a given layout which will be used as primary request, on
which the actual script execution will be added on top. It is important that this find
succeeds, otherwise a FileMaker error will be thrown.
Ideally you just create simple layout with a single field and a single record.
Implementations§
Auto Trait Implementations§
impl Freeze for ScriptLayoutContext
impl RefUnwindSafe for ScriptLayoutContext
impl Send for ScriptLayoutContext
impl Sync for ScriptLayoutContext
impl Unpin for ScriptLayoutContext
impl UnwindSafe for ScriptLayoutContext
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