mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-14 19:19:12 +00:00
formatting fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
055793c481
commit
46c71f7da3
@ -120,13 +120,11 @@ fn keyword_named_parameters_check() {
|
|||||||
&::proxmox::api::ApiHandler::Async(&api_function_keyword_named_parameters),
|
&::proxmox::api::ApiHandler::Async(&api_function_keyword_named_parameters),
|
||||||
&::proxmox::api::schema::ObjectSchema::new(
|
&::proxmox::api::schema::ObjectSchema::new(
|
||||||
"Returns nothing.",
|
"Returns nothing.",
|
||||||
&[
|
&[(
|
||||||
(
|
"type",
|
||||||
"type",
|
false,
|
||||||
false,
|
&::proxmox::api::schema::StringSchema::new("The great Foo").schema(),
|
||||||
&::proxmox::api::schema::StringSchema::new("The great Foo").schema(),
|
)],
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
.protected(false);
|
.protected(false);
|
||||||
|
@ -45,7 +45,11 @@ pub struct Registration {
|
|||||||
/// Attestation certificate (in DER format) from which we originally copied the `key_handle`.
|
/// Attestation certificate (in DER format) from which we originally copied the `key_handle`.
|
||||||
/// Not necessary for authentication, unless the hardware tokens should be restricted to
|
/// Not necessary for authentication, unless the hardware tokens should be restricted to
|
||||||
/// specific provider identities. Optional.
|
/// specific provider identities. Optional.
|
||||||
#[serde(with = "bytes_as_base64", default, skip_serializing_if = "Vec::is_empty")]
|
#[serde(
|
||||||
|
with = "bytes_as_base64",
|
||||||
|
default,
|
||||||
|
skip_serializing_if = "Vec::is_empty"
|
||||||
|
)]
|
||||||
pub certificate: Vec<u8>,
|
pub certificate: Vec<u8>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user