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
sourceimpl Clone for EllipticCurveKeyParameters
impl Clone for EllipticCurveKeyParameters
sourcefn clone(&self) -> EllipticCurveKeyParameters
fn clone(&self) -> EllipticCurveKeyParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EllipticCurveKeyParameters
impl Debug for EllipticCurveKeyParameters
sourceimpl Default for EllipticCurveKeyParameters
impl Default for EllipticCurveKeyParameters
sourcefn default() -> EllipticCurveKeyParameters
fn default() -> EllipticCurveKeyParameters
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for EllipticCurveKeyParameters
impl<'de> Deserialize<'de> for EllipticCurveKeyParameters
sourcefn 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
sourceimpl Hash for EllipticCurveKeyParameters
impl Hash for EllipticCurveKeyParameters
sourceimpl PartialEq<EllipticCurveKeyParameters> for EllipticCurveKeyParameters
impl PartialEq<EllipticCurveKeyParameters> for EllipticCurveKeyParameters
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &EllipticCurveKeyParameters) -> bool
fn ne(&self, other: &EllipticCurveKeyParameters) -> bool
This method tests for !=
.
impl Eq for EllipticCurveKeyParameters
impl StructuralEq for EllipticCurveKeyParameters
impl StructuralPartialEq for EllipticCurveKeyParameters
Auto Trait Implementations
impl RefUnwindSafe for EllipticCurveKeyParameters
impl Send for EllipticCurveKeyParameters
impl Sync for EllipticCurveKeyParameters
impl Unpin for EllipticCurveKeyParameters
impl UnwindSafe for EllipticCurveKeyParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more