pub struct TransactionQueryParamsBuilder { /* private fields */ }Expand description
Builder for TransactionQueryParams.
Implementations§
Source§impl TransactionQueryParamsBuilder
impl TransactionQueryParamsBuilder
pub fn page_size<VALUE: Into<u16>>(&mut self, value: VALUE) -> &mut Self
pub fn page_number<VALUE: Into<u16>>(&mut self, value: VALUE) -> &mut Self
pub fn type<VALUE: Into<Vec<TransactionType>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn embedded<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn order<VALUE: Into<OrderV2>>(&mut self, value: VALUE) -> &mut Self
pub fn sort_field<VALUE: Into<TransactionSortingField>>( &mut self, value: VALUE, ) -> &mut Self
pub fn to_height<VALUE: Into<Height>>(&mut self, value: VALUE) -> &mut Self
pub fn from_height<VALUE: Into<Height>>(&mut self, value: VALUE) -> &mut Self
pub fn height<VALUE: Into<Height>>(&mut self, value: VALUE) -> &mut Self
pub fn signer_public_key<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn recipient_address<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn address<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn public_key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn first_level<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<TransactionQueryParams, TransactionQueryParamsBuilderError>
pub fn build( &self, ) -> Result<TransactionQueryParams, TransactionQueryParamsBuilderError>
Trait Implementations§
Source§impl Clone for TransactionQueryParamsBuilder
impl Clone for TransactionQueryParamsBuilder
Source§fn clone(&self) -> TransactionQueryParamsBuilder
fn clone(&self) -> TransactionQueryParamsBuilder
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 moreAuto Trait Implementations§
impl Freeze for TransactionQueryParamsBuilder
impl RefUnwindSafe for TransactionQueryParamsBuilder
impl Send for TransactionQueryParamsBuilder
impl Sync for TransactionQueryParamsBuilder
impl Unpin for TransactionQueryParamsBuilder
impl UnwindSafe for TransactionQueryParamsBuilder
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> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
Source§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more