Struct jsonwebtoken::jwk::EllipticCurveKeyParameters
source · pub struct EllipticCurveKeyParameters {
pub key_type: EllipticCurveKeyType,
pub curve: EllipticCurve,
pub x: String,
pub y: String,
}
Expand description
Parameters for an Elliptic Curve Key
Fields§
§key_type: EllipticCurveKeyType
Key type value for an Elliptic Curve Key.
curve: EllipticCurve
The “crv” (curve) parameter identifies the cryptographic curve used with the key.
x: String
The “x” (x coordinate) parameter contains the x coordinate for the Elliptic Curve point.
y: String
The “y” (y coordinate) parameter contains the y coordinate for the Elliptic Curve point.
Trait Implementations§
source§impl Clone for EllipticCurveKeyParameters
impl Clone for EllipticCurveKeyParameters
source§fn clone(&self) -> EllipticCurveKeyParameters
fn clone(&self) -> EllipticCurveKeyParameters
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 EllipticCurveKeyParameters
impl Debug for EllipticCurveKeyParameters
source§impl Default for EllipticCurveKeyParameters
impl Default for EllipticCurveKeyParameters
source§fn default() -> EllipticCurveKeyParameters
fn default() -> EllipticCurveKeyParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EllipticCurveKeyParameters
impl<'de> Deserialize<'de> for EllipticCurveKeyParameters
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 Hash for EllipticCurveKeyParameters
impl Hash for EllipticCurveKeyParameters
source§impl PartialEq for EllipticCurveKeyParameters
impl PartialEq for EllipticCurveKeyParameters
source§fn eq(&self, other: &EllipticCurveKeyParameters) -> bool
fn eq(&self, other: &EllipticCurveKeyParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EllipticCurveKeyParameters
impl StructuralPartialEq for EllipticCurveKeyParameters
Auto Trait Implementations§
impl Freeze for EllipticCurveKeyParameters
impl RefUnwindSafe for EllipticCurveKeyParameters
impl Send for EllipticCurveKeyParameters
impl Sync for EllipticCurveKeyParameters
impl Unpin for EllipticCurveKeyParameters
impl UnwindSafe for EllipticCurveKeyParameters
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)