pub struct AccessKeysQuery { /* private fields */ }Expand description
Query builder for listing access keys.
§Example
let near = Near::testnet().build();
let keys = near.access_keys("alice.testnet").await?;
for key_info in keys.keys {
println!("Key: {}", key_info.public_key);
}Implementations§
Source§impl AccessKeysQuery
impl AccessKeysQuery
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 AccessKeysQuery
impl IntoFuture for AccessKeysQuery
Source§type Output = Result<AccessKeyListView, Error>
type Output = Result<AccessKeyListView, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <AccessKeysQuery as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <AccessKeysQuery 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 AccessKeysQuery
impl !RefUnwindSafe for AccessKeysQuery
impl Send for AccessKeysQuery
impl Sync for AccessKeysQuery
impl Unpin for AccessKeysQuery
impl UnsafeUnpin for AccessKeysQuery
impl !UnwindSafe for AccessKeysQuery
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