diff --git a/acrate-nodeinfo/src/lib.rs b/acrate-nodeinfo/src/lib.rs index 6dbf77d..c7167b1 100644 --- a/acrate-nodeinfo/src/lib.rs +++ b/acrate-nodeinfo/src/lib.rs @@ -11,9 +11,11 @@ use serde::Deserialize; #[derive(Debug, Clone, Deserialize)] pub struct HostMetaDocument { /// The resource this document refers to. + #[serde(alias = "Subject")] pub subject: Option, /// Links established between the [`Self::subject`] and other resources. + #[serde(alias = "Links")] pub links: Vec, }