pub struct ConfigurationQuery {
pub name: Option<String>,
pub pattern: Option<String>,
pub hsm_group: Option<String>,
pub limit: Option<u8>,
}Expand description
Query parameters for GET /api/v1/configurations.
Fields§
§name: Option<String>Exact configuration name to fetch.
pattern: Option<String>Glob pattern matched against configuration names.
hsm_group: Option<String>HSM group whose associated configurations should be returned.
limit: Option<u8>Cap on the number of configurations returned (most recent first).
Trait Implementations§
Source§impl Debug for ConfigurationQuery
impl Debug for ConfigurationQuery
Source§impl<'de> Deserialize<'de> for ConfigurationQuery
impl<'de> Deserialize<'de> for ConfigurationQuery
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 ConfigurationQuery
impl IntoParams for ConfigurationQuery
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 ConfigurationQuery
impl RefUnwindSafe for ConfigurationQuery
impl Send for ConfigurationQuery
impl Sync for ConfigurationQuery
impl Unpin for ConfigurationQuery
impl UnsafeUnpin for ConfigurationQuery
impl UnwindSafe for ConfigurationQuery
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