#[non_exhaustive]pub struct SetScopeRequest<'a> {
pub scope: SetScopeId,
pub method: &'a str,
pub data_type: &'a str,
pub account_id: Option<&'a Id>,
pub mode: SetMode,
pub args: &'a Value,
}Expand description
What ConditionalBackend::begin_set is asked to open.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scope: SetScopeIdThe scope’s id; current_set_scope returns it while the method
runs.
method: &'a strThe method name, e.g. "Mailbox/set".
data_type: &'a strThe data type, e.g. "Mailbox".
account_id: Option<&'a Id>The call’s accountId, if it had a well-formed one.
mode: SetModeIsolated or atomic.
args: &'a ValueThe call’s arguments, without ifUnchangedBy and atomic.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for SetScopeRequest<'a>
impl<'a> Clone for SetScopeRequest<'a>
impl<'a> Copy for SetScopeRequest<'a>
Auto Trait Implementations§
impl<'a> Forget for SetScopeRequest<'a>
impl<'a> Freeze for SetScopeRequest<'a>
impl<'a> Move for SetScopeRequest<'a>
impl<'a> RefUnwindSafe for SetScopeRequest<'a>
impl<'a> Send for SetScopeRequest<'a>
impl<'a> Sync for SetScopeRequest<'a>
impl<'a> Unpin for SetScopeRequest<'a>
impl<'a> UnsafeUnpin for SetScopeRequest<'a>
impl<'a> UnwindSafe for SetScopeRequest<'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