hostmeta
: Make the root element use the XRD tag
This commit is contained in:
parent
065fa9c80e
commit
a020861e33
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ use crate::jrd::{ResourceDescriptorJRD, ResourceDescriptorLinkJRD};
|
||||||
/// - <https://datatracker.ietf.org/doc/html/rfc6415#section-3>
|
/// - <https://datatracker.ietf.org/doc/html/rfc6415#section-3>
|
||||||
/// - <https://datatracker.ietf.org/doc/html/rfc7033#section-4.4>
|
/// - <https://datatracker.ietf.org/doc/html/rfc7033#section-4.4>
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
|
#[serde(rename = "XRD")]
|
||||||
pub struct ResourceDescriptorXRD {
|
pub struct ResourceDescriptorXRD {
|
||||||
/// The resource this document refers to.
|
/// The resource this document refers to.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue