pub struct GetTransactionQuery {
pub block: bool,
pub blob: bool,
pub blob_data: bool,
}
Expand description
What to include in the transaction response.
By default all fields are requested.
Fields§
§block: bool
Include the block in the response
blob: bool
Include the blob in the response
blob_data: bool
Include the blob_data in the response
Implementations§
Source§impl GetTransactionQuery
impl GetTransactionQuery
Sourcepub fn query_string(self) -> String
pub fn query_string(self) -> String
Returns the query string for the transaction expansion.
Sourcepub const fn no_blob_data(self) -> Self
pub const fn no_blob_data(self) -> Self
Exclude the blob data from the response
Trait Implementations§
Source§impl Clone for GetTransactionQuery
impl Clone for GetTransactionQuery
Source§fn clone(&self) -> GetTransactionQuery
fn clone(&self) -> GetTransactionQuery
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 moreSource§impl Debug for GetTransactionQuery
impl Debug for GetTransactionQuery
Source§impl Default for GetTransactionQuery
impl Default for GetTransactionQuery
Source§impl PartialEq for GetTransactionQuery
impl PartialEq for GetTransactionQuery
Source§impl Serialize for GetTransactionQuery
impl Serialize for GetTransactionQuery
impl Copy for GetTransactionQuery
impl Eq for GetTransactionQuery
impl StructuralPartialEq for GetTransactionQuery
Auto Trait Implementations§
impl Freeze for GetTransactionQuery
impl RefUnwindSafe for GetTransactionQuery
impl Send for GetTransactionQuery
impl Sync for GetTransactionQuery
impl Unpin for GetTransactionQuery
impl UnwindSafe for GetTransactionQuery
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 more