pub struct SelfActionBuilder {
pub actions: Vec<Action>,
}Fields§
§actions: Vec<Action>Implementations§
Source§impl SelfActionBuilder
impl SelfActionBuilder
pub const fn new() -> Self
Sourcepub fn add_action(self, action: Action) -> Self
pub fn add_action(self, action: Action) -> Self
Adds an action to the transaction.
Sourcepub fn add_actions(self, actions: Vec<Action>) -> Self
pub fn add_actions(self, actions: Vec<Action>) -> Self
Adds multiple actions to the transaction.
Sourcepub fn with_signer(
self,
signer_account_id: AccountId,
signer: Arc<Signer>,
) -> ExecuteSignedTransaction
pub fn with_signer( self, signer_account_id: AccountId, signer: Arc<Signer>, ) -> ExecuteSignedTransaction
Signs the transaction with the given account id and signer related to it.
Trait Implementations§
Source§impl Clone for SelfActionBuilder
impl Clone for SelfActionBuilder
Source§fn clone(&self) -> SelfActionBuilder
fn clone(&self) -> SelfActionBuilder
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 Debug for SelfActionBuilder
impl Debug for SelfActionBuilder
Auto Trait Implementations§
impl Freeze for SelfActionBuilder
impl RefUnwindSafe for SelfActionBuilder
impl Send for SelfActionBuilder
impl Sync for SelfActionBuilder
impl Unpin for SelfActionBuilder
impl UnwindSafe for SelfActionBuilder
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