pub struct ExpectedAlgorithms {
pub jose: &'static str,
pub cose: Option<SigningAlgorithm>,
}Expand description
The algorithms one key can produce.
Fields§
§jose: &'static strThe JOSE alg a JWS signed by this key names.
cose: Option<SigningAlgorithm>The COSE algorithm, when the key can sign PIC COSE artifacts.
Trait Implementations§
Source§impl Clone for ExpectedAlgorithms
impl Clone for ExpectedAlgorithms
Source§fn clone(&self) -> ExpectedAlgorithms
fn clone(&self) -> ExpectedAlgorithms
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExpectedAlgorithms
Source§impl Debug for ExpectedAlgorithms
impl Debug for ExpectedAlgorithms
impl Eq for ExpectedAlgorithms
Source§impl PartialEq for ExpectedAlgorithms
impl PartialEq for ExpectedAlgorithms
impl StructuralPartialEq for ExpectedAlgorithms
Auto Trait Implementations§
impl Freeze for ExpectedAlgorithms
impl RefUnwindSafe for ExpectedAlgorithms
impl Send for ExpectedAlgorithms
impl Sync for ExpectedAlgorithms
impl Unpin for ExpectedAlgorithms
impl UnsafeUnpin for ExpectedAlgorithms
impl UnwindSafe for ExpectedAlgorithms
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