#[repr(C)]pub struct AttestationReport {
pub body: Body,
pub sig: Signature,
}Expand description
This structure contains both the report body and its cryptographic signature.
Fields§
§body: BodyThe main content of the attestation report
sig: SignatureECDSA signature verifying the report authenticity
Implementations§
Source§impl AttestationReport
impl AttestationReport
Sourcepub fn print_report(&self)
pub fn print_report(&self)
Prints both the body and signature fields of the attestation report
Trait Implementations§
Source§impl Clone for AttestationReport
impl Clone for AttestationReport
Source§fn clone(&self) -> AttestationReport
fn clone(&self) -> AttestationReport
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 moreSource§impl Debug for AttestationReport
impl Debug for AttestationReport
Source§impl Default for AttestationReport
impl Default for AttestationReport
Source§impl<'de> Deserialize<'de> for AttestationReport
impl<'de> Deserialize<'de> for AttestationReport
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 Encoder<Body> for AttestationReport
Implementation of encoding functionality for AttestationReport
impl Encoder<Body> for AttestationReport
Implementation of encoding functionality for AttestationReport
Source§impl Serialize for AttestationReport
impl Serialize for AttestationReport
Auto Trait Implementations§
impl Freeze for AttestationReport
impl RefUnwindSafe for AttestationReport
impl Send for AttestationReport
impl Sync for AttestationReport
impl Unpin for AttestationReport
impl UnsafeUnpin for AttestationReport
impl UnwindSafe for AttestationReport
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