pub struct Cert<S: EcSig> {
pub pk: S::Pk,
pub sig: S,
}
Fields§
§pk: S::Pk
§sig: S
Implementations§
Trait Implementations§
source§impl<S> MultiDisplay<CertFormat> for Cert<S>
impl<S> MultiDisplay<CertFormat> for Cert<S>
type Display = String
fn display_fmt(&self, f: &CertFormat) -> Self::Display
source§impl<S: PartialEq + EcSig> PartialEq for Cert<S>
impl<S: PartialEq + EcSig> PartialEq for Cert<S>
impl<S: Copy + EcSig> Copy for Cert<S>
impl<S: Eq + EcSig> Eq for Cert<S>
impl<S: EcSig> StructuralPartialEq for Cert<S>
Auto Trait Implementations§
impl<S> Freeze for Cert<S>
impl<S> RefUnwindSafe for Cert<S>
impl<S> Send for Cert<S>
impl<S> Sync for Cert<S>
impl<S> Unpin for Cert<S>
impl<S> UnwindSafe for Cert<S>
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