pub struct Actions<T: Caller> {
pub caller: T,
}
Fields§
§caller: T
Implementations§
Source§impl<T: Caller> Actions<T>
impl<T: Caller> Actions<T>
pub fn init(&self) -> T::ReturnsNothing
pub fn newAccount( &self, name: AccountNumber, authService: AccountNumber, requireNew: bool, ) -> T::ReturnsNothing
pub fn setAuthServ(&self, authService: AccountNumber) -> T::ReturnsNothing
pub fn exists(&self, num: AccountNumber) -> T::ReturnType<bool>
pub fn getAccount(&self, num: AccountNumber) -> T::ReturnType<Option<Account>>
pub fn getAuthOf(&self, account: AccountNumber) -> T::ReturnType<AccountNumber>
pub fn billCpu(&self, name: AccountNumber, amount: i64) -> T::ReturnsNothing
Trait Implementations§
Source§impl<T: Caller> ToActionsSchema for Actions<T>
impl<T: Caller> ToActionsSchema for Actions<T>
fn to_schema( builder: &mut SchemaBuilder, ) -> IndexMap<MethodString, FunctionType>
Auto Trait Implementations§
impl<T> Freeze for Actions<T>where
T: Freeze,
impl<T> RefUnwindSafe for Actions<T>where
T: RefUnwindSafe,
impl<T> Send for Actions<T>where
T: Send,
impl<T> Sync for Actions<T>where
T: Sync,
impl<T> Unpin for Actions<T>where
T: Unpin,
impl<T> UnwindSafe for Actions<T>where
T: UnwindSafe,
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