pub struct PublicKeyResponse {
pub public_key: Option<String>,
pub public_keys: Option<HashMap<String, String>>,
}
Expand description
PublicKeyResponse : JWT Public Key Response Object
Fields§
§public_key: Option<String>
§public_keys: Option<HashMap<String, String>>
Implementations§
source§impl PublicKeyResponse
impl PublicKeyResponse
sourcepub fn new() -> PublicKeyResponse
pub fn new() -> PublicKeyResponse
JWT Public Key Response Object
Trait Implementations§
source§impl Clone for PublicKeyResponse
impl Clone for PublicKeyResponse
source§fn clone(&self) -> PublicKeyResponse
fn clone(&self) -> PublicKeyResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PublicKeyResponse
impl Debug for PublicKeyResponse
source§impl Default for PublicKeyResponse
impl Default for PublicKeyResponse
source§fn default() -> PublicKeyResponse
fn default() -> PublicKeyResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PublicKeyResponse
impl<'de> Deserialize<'de> for PublicKeyResponse
source§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
source§impl PartialEq for PublicKeyResponse
impl PartialEq for PublicKeyResponse
source§fn eq(&self, other: &PublicKeyResponse) -> bool
fn eq(&self, other: &PublicKeyResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PublicKeyResponse
impl Serialize for PublicKeyResponse
impl StructuralPartialEq for PublicKeyResponse
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more