Struct ironoxide::common::DeviceSigningKeyPair
source · pub struct DeviceSigningKeyPair(/* private fields */);
Expand description
Key pair used to sign all requests to the IronCore API endpoints.
Implementations§
Trait Implementations§
source§impl Clone for DeviceSigningKeyPair
impl Clone for DeviceSigningKeyPair
source§fn clone(&self) -> DeviceSigningKeyPair
fn clone(&self) -> DeviceSigningKeyPair
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 DeviceSigningKeyPair
impl Debug for DeviceSigningKeyPair
source§impl<'de> Deserialize<'de> for DeviceSigningKeyPair
impl<'de> Deserialize<'de> for DeviceSigningKeyPair
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 From<&DeviceSigningKeyPair> for SigningKeypair
impl From<&DeviceSigningKeyPair> for SigningKeypair
source§fn from(dsk: &DeviceSigningKeyPair) -> RecryptSigningKeypair
fn from(dsk: &DeviceSigningKeyPair) -> RecryptSigningKeypair
Converts to this type from the input type.
source§impl From<SigningKeypair> for DeviceSigningKeyPair
impl From<SigningKeypair> for DeviceSigningKeyPair
source§fn from(rsk: RecryptSigningKeypair) -> DeviceSigningKeyPair
fn from(rsk: RecryptSigningKeypair) -> DeviceSigningKeyPair
Converts to this type from the input type.
source§impl Hash for DeviceSigningKeyPair
impl Hash for DeviceSigningKeyPair
source§impl PartialEq for DeviceSigningKeyPair
impl PartialEq for DeviceSigningKeyPair
source§fn eq(&self, other: &DeviceSigningKeyPair) -> bool
fn eq(&self, other: &DeviceSigningKeyPair) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DeviceSigningKeyPair
impl Serialize for DeviceSigningKeyPair
source§impl TryFrom<&[u8]> for DeviceSigningKeyPair
impl TryFrom<&[u8]> for DeviceSigningKeyPair
§type Error = IronOxideErr
type Error = IronOxideErr
The type returned in the event of a conversion error.
impl Eq for DeviceSigningKeyPair
impl StructuralEq for DeviceSigningKeyPair
impl StructuralPartialEq for DeviceSigningKeyPair
Auto Trait Implementations§
impl RefUnwindSafe for DeviceSigningKeyPair
impl Send for DeviceSigningKeyPair
impl Sync for DeviceSigningKeyPair
impl Unpin for DeviceSigningKeyPair
impl UnwindSafe for DeviceSigningKeyPair
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more