pub struct AccountExistsQuery { /* private fields */ }Expand description
Query builder for checking if an account exists.
§Example
let near = Near::testnet().build();
if near.account_exists("alice.testnet").await? {
println!("Account exists!");
}Implementations§
Source§impl AccountExistsQuery
impl AccountExistsQuery
Sourcepub fn at_block_hash(self, hash: CryptoHash) -> Self
pub fn at_block_hash(self, hash: CryptoHash) -> Self
Query at a specific block hash.
Trait Implementations§
Source§impl IntoFuture for AccountExistsQuery
impl IntoFuture for AccountExistsQuery
Source§type IntoFuture = Pin<Box<dyn Future<Output = <AccountExistsQuery as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <AccountExistsQuery as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl Freeze for AccountExistsQuery
impl !RefUnwindSafe for AccountExistsQuery
impl Send for AccountExistsQuery
impl Sync for AccountExistsQuery
impl Unpin for AccountExistsQuery
impl UnsafeUnpin for AccountExistsQuery
impl !UnwindSafe for AccountExistsQuery
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