pub struct ClusterQuery {
pub hsm_group: Option<String>,
pub status: Option<String>,
}Expand description
Query parameters for GET /api/v1/groups/nodes (the renamed
alias of the legacy GET /api/v1/clusters).
Fields§
§hsm_group: Option<String>HSM group name to list nodes for. When omitted the response covers every group the bearer token can access.
status: Option<String>Optional power-status filter (e.g. ON, OFF, READY).
Trait Implementations§
Source§impl Debug for ClusterQuery
impl Debug for ClusterQuery
Source§impl<'de> Deserialize<'de> for ClusterQuery
impl<'de> Deserialize<'de> for ClusterQuery
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 ClusterQuery
impl IntoParams for ClusterQuery
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 ClusterQuery
impl RefUnwindSafe for ClusterQuery
impl Send for ClusterQuery
impl Sync for ClusterQuery
impl Unpin for ClusterQuery
impl UnsafeUnpin for ClusterQuery
impl UnwindSafe for ClusterQuery
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