pub struct OctetKeyPairParameters {
pub key_type: OctetKeyPairType,
pub curve: EllipticCurve,
pub x: String,
}
Expand description
Parameters for an Octet Key Pair
Fields§
§key_type: OctetKeyPairType
Key type value for an Octet Key Pair
curve: EllipticCurve
The “crv” (curve) parameter identifies the cryptographic curve used with the key.
x: String
The “x” parameter contains the base64 encoded public key
Trait Implementations§
source§impl Clone for OctetKeyPairParameters
impl Clone for OctetKeyPairParameters
source§fn clone(&self) -> OctetKeyPairParameters
fn clone(&self) -> OctetKeyPairParameters
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 OctetKeyPairParameters
impl Debug for OctetKeyPairParameters
source§impl Default for OctetKeyPairParameters
impl Default for OctetKeyPairParameters
source§fn default() -> OctetKeyPairParameters
fn default() -> OctetKeyPairParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OctetKeyPairParameters
impl<'de> Deserialize<'de> for OctetKeyPairParameters
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 OctetKeyPairParameters
impl Hash for OctetKeyPairParameters
source§impl PartialEq for OctetKeyPairParameters
impl PartialEq for OctetKeyPairParameters
source§impl Serialize for OctetKeyPairParameters
impl Serialize for OctetKeyPairParameters
impl Eq for OctetKeyPairParameters
impl StructuralPartialEq for OctetKeyPairParameters
Auto Trait Implementations§
impl Freeze for OctetKeyPairParameters
impl RefUnwindSafe for OctetKeyPairParameters
impl Send for OctetKeyPairParameters
impl Sync for OctetKeyPairParameters
impl Unpin for OctetKeyPairParameters
impl UnwindSafe for OctetKeyPairParameters
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)