pub struct ProtocolComponentRequestParameters {
pub tvl_gt: Option<f64>,
}๐Deprecated: Use ProtocolComponentsRequestBody instead
Fieldsยง
ยงtvl_gt: Option<f64>๐Deprecated: Use ProtocolComponentsRequestBody instead
The minimum TVL of the protocol components to return, denoted in the chainโs native token.
Implementationsยง
Sourceยงimpl ProtocolComponentRequestParameters
impl ProtocolComponentRequestParameters
pub fn tvl_filtered(min_tvl: f64) -> Self
Sourceยงimpl ProtocolComponentRequestParameters
impl ProtocolComponentRequestParameters
pub fn to_query_string(&self) -> String
Trait Implementationsยง
Sourceยงimpl Default for ProtocolComponentRequestParameters
impl Default for ProtocolComponentRequestParameters
Sourceยงfn default() -> ProtocolComponentRequestParameters
fn default() -> ProtocolComponentRequestParameters
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'de> Deserialize<'de> for ProtocolComponentRequestParameters
impl<'de> Deserialize<'de> for ProtocolComponentRequestParameters
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 ProtocolComponentRequestParameters
impl IntoParams for ProtocolComponentRequestParameters
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 ProtocolComponentRequestParameters
impl RefUnwindSafe for ProtocolComponentRequestParameters
impl Send for ProtocolComponentRequestParameters
impl Sync for ProtocolComponentRequestParameters
impl Unpin for ProtocolComponentRequestParameters
impl UnwindSafe for ProtocolComponentRequestParameters
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