pub struct CreateAccountBuilder {
pub account_id: AccountId,
}Fields§
§account_id: AccountIdImplementations§
Source§impl CreateAccountBuilder
impl CreateAccountBuilder
Sourcepub fn fund_myself(
self,
signer_account_id: AccountId,
initial_balance: NearToken,
) -> FundMyselfBuilder
pub fn fund_myself( self, signer_account_id: AccountId, initial_balance: NearToken, ) -> FundMyselfBuilder
Sourcepub fn sponsor_by_faucet_service(self) -> SponsorByFaucetServiceBuilder
pub fn sponsor_by_faucet_service(self) -> SponsorByFaucetServiceBuilder
Create an account sponsored by faucet service
This is a way to create an account without having to fund it. It works only on testnet. You can only create an sub-account of the testnet account
Trait Implementations§
Source§impl Clone for CreateAccountBuilder
impl Clone for CreateAccountBuilder
Source§fn clone(&self) -> CreateAccountBuilder
fn clone(&self) -> CreateAccountBuilder
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 moreAuto Trait Implementations§
impl Freeze for CreateAccountBuilder
impl RefUnwindSafe for CreateAccountBuilder
impl Send for CreateAccountBuilder
impl Sync for CreateAccountBuilder
impl Unpin for CreateAccountBuilder
impl UnwindSafe for CreateAccountBuilder
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