pub enum AggregatorRequest {
Show 15 variants
GetCertificate {
hash: String,
},
ListCertificates,
GetMithrilStakeDistribution {
hash: String,
},
ListMithrilStakeDistributions,
GetSnapshot {
digest: String,
},
ListSnapshots,
IncrementSnapshotStatistic {
snapshot: String,
},
GetCardanoDatabaseSnapshot {
hash: String,
},
ListCardanoDatabaseSnapshots,
GetTransactionsProofs {
transactions_hashes: Vec<String>,
},
GetCardanoTransactionSnapshot {
hash: String,
},
ListCardanoTransactionSnapshots,
GetCardanoStakeDistribution {
hash: String,
},
GetCardanoStakeDistributionByEpoch {
epoch: Epoch,
},
ListCardanoStakeDistributions,
}
Expand description
What can be read from an AggregatorClient.
Variants§
GetCertificate
Get a specific certificate from the aggregator
ListCertificates
Lists the aggregator certificates
GetMithrilStakeDistribution
Get a specific Mithril stake distribution from the aggregator
ListMithrilStakeDistributions
Lists the aggregator Mithril stake distribution
GetSnapshot
Get a specific snapshot from the aggregator
ListSnapshots
Lists the aggregator snapshots
IncrementSnapshotStatistic
Increments the aggregator snapshot download statistics
GetCardanoDatabaseSnapshot
Get a specific Cardano database snapshot from the aggregator
ListCardanoDatabaseSnapshots
Lists the aggregator Cardano database snapshots
GetTransactionsProofs
Get proofs that the given set of Cardano transactions is included in the global Cardano transactions set
GetCardanoTransactionSnapshot
Get a specific Cardano transaction snapshot
ListCardanoTransactionSnapshots
Lists the aggregator Cardano transaction snapshot
GetCardanoStakeDistribution
Get a specific Cardano stake distribution from the aggregator by hash
GetCardanoStakeDistributionByEpoch
Get a specific Cardano stake distribution from the aggregator by epoch
Fields
ListCardanoStakeDistributions
Lists the aggregator Cardano stake distribution
Implementations§
Trait Implementations§
Source§impl Clone for AggregatorRequest
impl Clone for AggregatorRequest
Source§fn clone(&self) -> AggregatorRequest
fn clone(&self) -> AggregatorRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AggregatorRequest
impl Debug for AggregatorRequest
Source§impl PartialEq for AggregatorRequest
impl PartialEq for AggregatorRequest
impl Eq for AggregatorRequest
impl StructuralPartialEq for AggregatorRequest
Auto Trait Implementations§
impl Freeze for AggregatorRequest
impl RefUnwindSafe for AggregatorRequest
impl Send for AggregatorRequest
impl Sync for AggregatorRequest
impl Unpin for AggregatorRequest
impl UnwindSafe for AggregatorRequest
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
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> ⓘ
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