pub struct ChainQuery {
pub name: Option<String>,
pub index: Option<u64>,
pub entry: Option<String>,
pub range: Option<RangeOptions>,
pub include_receipt: Option<ReceiptOptions>,
}Expand description
Chain query - query chain data for an account
Fields§
§name: Option<String>Chain name (e.g., “main”, “signature”, “pending”)
index: Option<u64>Query specific index
entry: Option<String>Query by entry hash
range: Option<RangeOptions>Range options for paginated results
include_receipt: Option<ReceiptOptions>Include receipt in response
Implementations§
Trait Implementations§
Source§impl Clone for ChainQuery
impl Clone for ChainQuery
Source§fn clone(&self) -> ChainQuery
fn clone(&self) -> ChainQuery
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 ChainQuery
impl Debug for ChainQuery
Source§impl Default for ChainQuery
impl Default for ChainQuery
Source§fn default() -> ChainQuery
fn default() -> ChainQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChainQuery
impl<'de> Deserialize<'de> for ChainQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChainQuery
impl PartialEq for ChainQuery
Source§impl Serialize for ChainQuery
impl Serialize for ChainQuery
impl StructuralPartialEq for ChainQuery
Auto Trait Implementations§
impl Freeze for ChainQuery
impl RefUnwindSafe for ChainQuery
impl Send for ChainQuery
impl Sync for ChainQuery
impl Unpin for ChainQuery
impl UnsafeUnpin for ChainQuery
impl UnwindSafe for ChainQuery
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