pub struct TopicInfoQuery { /* private fields */ }
Implementations§
Source§impl TopicInfoQuery
impl TopicInfoQuery
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 TopicInfoQuery
impl TopicInfoQuery
pub async fn execute_async_with_cost_check( &mut self, client: &Client, ) -> Result<IntermediateResponse, HederaError>
Source§impl TopicInfoQuery
impl TopicInfoQuery
pub fn new() -> TopicInfoQuery
pub fn topic_id(&self) -> Result<TopicId, HederaError>
pub fn set_topic_id( &mut self, topic_id: TopicId, ) -> Result<&mut Self, HederaError>
pub async fn execute( &mut self, client: &Client, ) -> Result<TopicInfo, HederaError>
Trait Implementations§
Source§impl Clone for TopicInfoQuery
impl Clone for TopicInfoQuery
Source§fn clone(&self) -> TopicInfoQuery
fn clone(&self) -> TopicInfoQuery
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 TopicInfoQuery
impl Debug for TopicInfoQuery
Source§impl Default for TopicInfoQuery
impl Default for TopicInfoQuery
Source§impl PartialEq for TopicInfoQuery
impl PartialEq for TopicInfoQuery
impl StructuralPartialEq for TopicInfoQuery
Auto Trait Implementations§
impl Freeze for TopicInfoQuery
impl RefUnwindSafe for TopicInfoQuery
impl Send for TopicInfoQuery
impl Sync for TopicInfoQuery
impl Unpin for TopicInfoQuery
impl UnwindSafe for TopicInfoQuery
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