pub struct ActionContext {
pub expected_revision: Option<u64>,
pub atomic: bool,
pub local: bool,
}Expand description
Request metadata passed unchanged to registered handlers.
Fields§
§expected_revision: Option<u64>Expected revision supplied by the caller and checked by the dispatcher.
atomic: boolTrue when executing inside a host transaction.
local: boolTrue for trusted in-process GUI commands, which may omit an expected revision.
Trait Implementations§
Source§impl Clone for ActionContext
impl Clone for ActionContext
impl Copy for ActionContext
Source§impl Debug for ActionContext
impl Debug for ActionContext
Auto Trait Implementations§
impl Forget for ActionContext
impl Freeze for ActionContext
impl RefUnwindSafe for ActionContext
impl Send for ActionContext
impl Sync for ActionContext
impl Unpin for ActionContext
impl UnsafeUnpin for ActionContext
impl UnwindSafe for ActionContext
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