Struct ddoresolver_rs::key::JWK
source · [−]pub struct JWK {
pub key_id: Option<String>,
pub key_type: String,
pub curve: String,
pub x: Option<String>,
pub y: Option<String>,
pub d: Option<String>,
}
Fields
key_id: Option<String>
key_type: String
curve: String
x: Option<String>
y: Option<String>
d: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for JWK
impl<'de> Deserialize<'de> for JWK
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<JWK, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<JWK, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for JWK
impl Serialize for JWK
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for JWK
Auto Trait Implementations
impl RefUnwindSafe for JWK
impl Send for JWK
impl Sync for JWK
impl Unpin for JWK
impl UnwindSafe for JWK
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more