pub struct HttpGatewayResponseMetadata {
pub upgraded_to_update_call: bool,
pub response_verification_version: Option<u16>,
pub internal_error: Option<HttpGatewayError>,
}
Expand description
Additional metadata regarding the response.
Fields§
§upgraded_to_update_call: bool
Whether the original query call was upgraded to an update call.
response_verification_version: Option<u16>
The version of response verification that was used to verify the response.
If the protocol fails before getting to the verification step, or the
original query call is upgraded to an update call, this field will be None
.
internal_error: Option<HttpGatewayError>
The internal error that resulted in the HTTP response being an error response.
Trait Implementations§
Source§impl Clone for HttpGatewayResponseMetadata
impl Clone for HttpGatewayResponseMetadata
Source§fn clone(&self) -> HttpGatewayResponseMetadata
fn clone(&self) -> HttpGatewayResponseMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for HttpGatewayResponseMetadata
impl !RefUnwindSafe for HttpGatewayResponseMetadata
impl Send for HttpGatewayResponseMetadata
impl Sync for HttpGatewayResponseMetadata
impl Unpin for HttpGatewayResponseMetadata
impl !UnwindSafe for HttpGatewayResponseMetadata
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