pub struct FileInfoQuery { /* private fields */ }
Implementations§
Source§impl FileInfoQuery
impl FileInfoQuery
pub fn set_max_query_payment( &mut self, max_payment: Hbar, ) -> Result<&mut Self, HederaError>
pub fn set_query_payment( &mut self, payment: Hbar, ) -> Result<&mut Self, HederaError>
pub fn set_node_account_ids( &mut self, node_account_ids: Vec<AccountId>, ) -> Result<&mut Self, HederaError>
pub fn set_max_retry(&mut self, max_retry: u8) -> Result<&mut Self, HederaError>
pub fn set_min_backoff( &mut self, backoff: u64, ) -> Result<&mut Self, HederaError>
pub fn set_max_backoff( &mut self, backoff: u64, ) -> Result<&mut Self, HederaError>
Source§impl FileInfoQuery
impl FileInfoQuery
Source§impl FileInfoQuery
impl FileInfoQuery
pub async fn execute_async_with_cost_check( &mut self, client: &Client, ) -> Result<IntermediateResponse, HederaError>
Source§impl FileInfoQuery
impl FileInfoQuery
pub fn new() -> FileInfoQuery
pub fn file_id(&self) -> Result<FileId, HederaError>
pub fn set_file_id(&mut self, file_id: FileId) -> Result<&mut Self, HederaError>
pub async fn execute( &mut self, client: &Client, ) -> Result<FileInfo, HederaError>
Trait Implementations§
Source§impl Clone for FileInfoQuery
impl Clone for FileInfoQuery
Source§fn clone(&self) -> FileInfoQuery
fn clone(&self) -> FileInfoQuery
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 FileInfoQuery
impl Debug for FileInfoQuery
Source§impl Default for FileInfoQuery
impl Default for FileInfoQuery
Source§impl PartialEq for FileInfoQuery
impl PartialEq for FileInfoQuery
impl StructuralPartialEq for FileInfoQuery
Auto Trait Implementations§
impl Freeze for FileInfoQuery
impl RefUnwindSafe for FileInfoQuery
impl Send for FileInfoQuery
impl Sync for FileInfoQuery
impl Unpin for FileInfoQuery
impl UnwindSafe for FileInfoQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request