pub struct HttpGatewayResponse {
pub canister_response: CanisterResponse,
pub metadata: HttpGatewayResponseMetadata,
}
Expand description
A response from the HTTP gateway.
Fields§
§canister_response: CanisterResponse
The certified response, excluding uncertified headers. If response verification v1 is used, the original, uncertified headers are returned.
metadata: HttpGatewayResponseMetadata
Additional metadata regarding the response.
Auto Trait Implementations§
impl !Freeze for HttpGatewayResponse
impl !RefUnwindSafe for HttpGatewayResponse
impl Send for HttpGatewayResponse
impl !Sync for HttpGatewayResponse
impl Unpin for HttpGatewayResponse
impl !UnwindSafe for HttpGatewayResponse
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