pub struct ProtocolComponentsRequestBody {
pub protocol_system: String,
pub component_ids: Option<Vec<ComponentId>>,
pub tvl_gt: Option<f64>,
pub chain: Chain,
pub pagination: PaginationParams,
}Fields§
§protocol_system: StringFilters by protocol, required to correctly apply unconfirmed state from ReorgBuffers
component_ids: Option<Vec<ComponentId>>Filter by component ids
tvl_gt: Option<f64>The minimum TVL of the protocol components to return, denoted in the chain’s native token.
chain: Chain§pagination: PaginationParamsMax page size supported is 500
Implementations§
Trait Implementations§
Source§impl Clone for ProtocolComponentsRequestBody
impl Clone for ProtocolComponentsRequestBody
Source§fn clone(&self) -> ProtocolComponentsRequestBody
fn clone(&self) -> ProtocolComponentsRequestBody
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 Default for ProtocolComponentsRequestBody
impl Default for ProtocolComponentsRequestBody
Source§fn default() -> ProtocolComponentsRequestBody
fn default() -> ProtocolComponentsRequestBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtocolComponentsRequestBody
impl<'de> Deserialize<'de> for ProtocolComponentsRequestBody
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 Hash for ProtocolComponentsRequestBody
impl Hash for ProtocolComponentsRequestBody
Source§impl<'__s> ToSchema<'__s> for ProtocolComponentsRequestBody
impl<'__s> ToSchema<'__s> for ProtocolComponentsRequestBody
impl Eq for ProtocolComponentsRequestBody
Auto Trait Implementations§
impl Freeze for ProtocolComponentsRequestBody
impl RefUnwindSafe for ProtocolComponentsRequestBody
impl Send for ProtocolComponentsRequestBody
impl Sync for ProtocolComponentsRequestBody
impl Unpin for ProtocolComponentsRequestBody
impl UnwindSafe for ProtocolComponentsRequestBody
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.