Enum apub_publickey::PublicKeyResponse [−][src]
pub enum PublicKeyResponse {
PublicKey(SimplePublicKey),
Actor {
id: Url,
public_key: SimplePublicKey,
},
}
Variants
PublicKey(SimplePublicKey)
Tuple Fields
I dream of the day when asking for a Public Key gives me a public key
Actor
Getting an Actor from a PublicKey fetch is a bug IMO but mastodon does it so :shrug:
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PublicKeyResponse
impl Send for PublicKeyResponse
impl Sync for PublicKeyResponse
impl Unpin for PublicKeyResponse
impl UnwindSafe for PublicKeyResponse
Blanket Implementations
Mutably borrows from an owned value. Read more