pub struct SignedExchangeInfo {
pub outer_response: Response,
pub has_extra_info: bool,
pub header: Option<SignedExchangeHeader>,
pub security_details: Option<SecurityDetails>,
pub errors: Option<Vec<SignedExchangeError>>,
}Expand description
Information about a signed exchange response.
Experimental: may change without notice.
Fields§
§outer_response: ResponseThe outer response of signed HTTP exchange which was received from network.
has_extra_info: boolWhether network response for the signed exchange was accompanied by extra headers.
header: Option<SignedExchangeHeader>Information about the signed exchange header.
security_details: Option<SecurityDetails>Security details for the signed exchange header.
errors: Option<Vec<SignedExchangeError>>Errors occurred while handling the signed exchange.
Trait Implementations§
Source§impl Clone for SignedExchangeInfo
impl Clone for SignedExchangeInfo
Source§impl Debug for SignedExchangeInfo
impl Debug for SignedExchangeInfo
Source§impl<'de> Deserialize<'de> for SignedExchangeInfo
impl<'de> Deserialize<'de> for SignedExchangeInfo
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 PartialEq for SignedExchangeInfo
impl PartialEq for SignedExchangeInfo
Source§impl Serialize for SignedExchangeInfo
impl Serialize for SignedExchangeInfo
impl StructuralPartialEq for SignedExchangeInfo
Auto Trait Implementations§
impl Forget for SignedExchangeInfo
impl Freeze for SignedExchangeInfo
impl RefUnwindSafe for SignedExchangeInfo
impl Send for SignedExchangeInfo
impl Sync for SignedExchangeInfo
impl Unpin for SignedExchangeInfo
impl UnsafeUnpin for SignedExchangeInfo
impl UnwindSafe for SignedExchangeInfo
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