mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2025-06-11 10:53:19 +02:00
run cargo fmt --all
This commit is contained in:
@ -57,7 +57,11 @@ pub struct MachineDescription {
|
||||
#[serde(flatten)]
|
||||
pub privs: PrivilegesBuf,
|
||||
|
||||
#[serde(default = "default_prodable", skip_serializing_if = "bool_is_false", deserialize_with = "deser_bool")]
|
||||
#[serde(
|
||||
default = "default_prodable",
|
||||
skip_serializing_if = "bool_is_false",
|
||||
deserialize_with = "deser_bool"
|
||||
)]
|
||||
pub prodable: bool,
|
||||
}
|
||||
|
||||
@ -128,7 +132,6 @@ where
|
||||
Ok(bool::deserialize(d).unwrap_or(false))
|
||||
}
|
||||
|
||||
|
||||
pub(crate) fn deser_option<'de, D, T>(d: D) -> std::result::Result<Option<T>, D::Error>
|
||||
where
|
||||
D: serde::Deserializer<'de>,
|
||||
|
Reference in New Issue
Block a user