pub struct RunAsCaller {
pub sender: AccountNumber,
pub service: AccountNumber,
pub allowed_actions: Vec<ServiceMethod>,
}Fields§
§sender: AccountNumber§service: AccountNumber§allowed_actions: Vec<ServiceMethod>Trait Implementations§
Source§impl Caller for RunAsCaller
impl Caller for RunAsCaller
type ReturnsNothing = ()
type ReturnType<T: UnpackOwned> = T
fn call_returns_nothing<Args: Pack>(&self, method: MethodNumber, args: Args)
fn call<Ret: UnpackOwned, Args: Pack>( &self, method: MethodNumber, args: Args, ) -> Ret
Source§impl Clone for RunAsCaller
impl Clone for RunAsCaller
Source§fn clone(&self) -> RunAsCaller
fn clone(&self) -> RunAsCaller
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RunAsCaller
impl Default for RunAsCaller
Source§fn default() -> RunAsCaller
fn default() -> RunAsCaller
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RunAsCaller
impl RefUnwindSafe for RunAsCaller
impl Send for RunAsCaller
impl Sync for RunAsCaller
impl Unpin for RunAsCaller
impl UnsafeUnpin for RunAsCaller
impl UnwindSafe for RunAsCaller
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