Clarify usage of AccountCredentials::urls
This commit is contained in:
parent
6adccaa618
commit
e7fcd3c3b9
|
@ -60,6 +60,9 @@ pub struct AccountCredentials {
|
||||||
#[serde(with = "pkcs8_serde")]
|
#[serde(with = "pkcs8_serde")]
|
||||||
pub(crate) key_pkcs8: Vec<u8>,
|
pub(crate) key_pkcs8: Vec<u8>,
|
||||||
pub(crate) directory: Option<String>,
|
pub(crate) directory: Option<String>,
|
||||||
|
/// We never serialize `urls` by default, but we support deserializing them
|
||||||
|
/// in order to support serialized data from older versions of the library.
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub(crate) urls: Option<DirectoryUrls>,
|
pub(crate) urls: Option<DirectoryUrls>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue