pub struct StateRequestParameters {
pub tvl_gt: Option<u64>,
pub inertia_min_gt: Option<u64>,
pub include_balances: bool,
pub pagination: PaginationParams,
}๐Deprecated: Use StateRequestBody instead
Fieldsยง
ยงtvl_gt: Option<u64>๐Deprecated: Use StateRequestBody instead
The minimum TVL of the protocol components to return, denoted in the chainโs native token.
inertia_min_gt: Option<u64>๐Deprecated: Use StateRequestBody instead
The minimum inertia of the protocol components to return.
include_balances: bool๐Deprecated: Use StateRequestBody instead
Whether to include ERC20 balances in the response.
pagination: PaginationParams๐Deprecated: Use StateRequestBody instead
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Debug for StateRequestParameters
impl Debug for StateRequestParameters
Sourceยงimpl Default for StateRequestParameters
impl Default for StateRequestParameters
Sourceยงfn default() -> StateRequestParameters
fn default() -> StateRequestParameters
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'de> Deserialize<'de> for StateRequestParameters
impl<'de> Deserialize<'de> for StateRequestParameters
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 IntoParams for StateRequestParameters
impl IntoParams for StateRequestParameters
Sourceยงfn into_params(
parameter_in_provider: impl Fn() -> Option<ParameterIn>,
) -> Vec<Parameter>
fn into_params( parameter_in_provider: impl Fn() -> Option<ParameterIn>, ) -> Vec<Parameter>
Provide
Vec of openapi::path::Parameters to caller. The result is used in utoipa-gen library to
provide OpenAPI parameter information for the endpoint using the parameters.Auto Trait Implementationsยง
impl Freeze for StateRequestParameters
impl RefUnwindSafe for StateRequestParameters
impl Send for StateRequestParameters
impl Sync for StateRequestParameters
impl Unpin for StateRequestParameters
impl UnwindSafe for StateRequestParameters
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