Make fields of ApSignature07 and PublicKey07 public

This commit is contained in:
Kitaiti Makoto 2022-02-12 13:23:44 +09:00
parent f3b67ab6c9
commit a6d839a766

View File

@ -313,15 +313,15 @@ pub struct PublicKey {
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)] #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)]
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
pub struct ApSignature07 { pub struct ApSignature07 {
public_key: PublicKey07, pub public_key: PublicKey07,
} }
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)] #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)]
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
pub struct PublicKey07 { pub struct PublicKey07 {
id: IriString, pub id: IriString,
owner: IriString, pub owner: IriString,
public_key_pem: String, pub public_key_pem: String,
} }
impl<U> UnparsedExtension<U> for ApSignature07 impl<U> UnparsedExtension<U> for ApSignature07