pub struct Prepare<'a> { /* private fields */ }Expand description
What Function::prepare is told about the call site it prepares.
Its fields are private, behind getters, so it can grow.
Implementations§
Source§impl<'a> Prepare<'a>
impl<'a> Prepare<'a>
Sourcepub fn workflow_id(&self) -> &'a str
pub fn workflow_id(&self) -> &'a str
The id of the workflow the call site is in.
Sourcepub fn spec(&self) -> &'a FunctionSpec
pub fn spec(&self) -> &'a FunctionSpec
The function’s spec, as it was when registered.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Prepare<'a>
impl<'a> RefUnwindSafe for Prepare<'a>
impl<'a> Send for Prepare<'a>
impl<'a> Sync for Prepare<'a>
impl<'a> Unpin for Prepare<'a>
impl<'a> UnsafeUnpin for Prepare<'a>
impl<'a> UnwindSafe for Prepare<'a>
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