pub struct QueryDelegatorUnbondingDelegationsResponseBuilder { /* private fields */ }
Expand description
Builder for QueryDelegatorUnbondingDelegationsResponse
.
Implementations§
Source§impl QueryDelegatorUnbondingDelegationsResponseBuilder
impl QueryDelegatorUnbondingDelegationsResponseBuilder
pub fn unbonding_responses( &mut self, value: Vec<UnbondingDelegation>, ) -> &mut Self
Sourcepub fn pagination(&mut self, value: Option<PageResponse>) -> &mut Self
pub fn pagination(&mut self, value: Option<PageResponse>) -> &mut Self
pagination defines the pagination in the response.
Sourcepub fn build(
&self,
) -> Result<QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseBuilderError>
pub fn build( &self, ) -> Result<QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseBuilderError>
Builds a new QueryDelegatorUnbondingDelegationsResponse
.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for QueryDelegatorUnbondingDelegationsResponseBuilder
impl Clone for QueryDelegatorUnbondingDelegationsResponseBuilder
Source§fn clone(&self) -> QueryDelegatorUnbondingDelegationsResponseBuilder
fn clone(&self) -> QueryDelegatorUnbondingDelegationsResponseBuilder
Returns a copy 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 QueryDelegatorUnbondingDelegationsResponseBuilder
impl RefUnwindSafe for QueryDelegatorUnbondingDelegationsResponseBuilder
impl Send for QueryDelegatorUnbondingDelegationsResponseBuilder
impl Sync for QueryDelegatorUnbondingDelegationsResponseBuilder
impl Unpin for QueryDelegatorUnbondingDelegationsResponseBuilder
impl UnwindSafe for QueryDelegatorUnbondingDelegationsResponseBuilder
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> CosmosMessage for T
impl<T> CosmosMessage for T
fn with_height(self, height: MetadataValue<Ascii>) -> Request<Self>where
Self: Sized,
fn with_height_num(self, height: u64) -> Request<Self>where
Self: Sized,
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> 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