pub struct RawMockCanisterHttpResponse {
pub subnet_id: RawSubnetId,
pub request_id: u64,
pub response: CanisterHttpResponse,
pub additional_responses: Vec<CanisterHttpResponse>,
}Fields§
§subnet_id: RawSubnetId§request_id: u64§response: CanisterHttpResponse§additional_responses: Vec<CanisterHttpResponse>Trait Implementations§
Source§impl Clone for RawMockCanisterHttpResponse
impl Clone for RawMockCanisterHttpResponse
Source§impl Debug for RawMockCanisterHttpResponse
impl Debug for RawMockCanisterHttpResponse
Source§impl<'de> Deserialize<'de> for RawMockCanisterHttpResponse
impl<'de> Deserialize<'de> for RawMockCanisterHttpResponse
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 From<MockCanisterHttpResponse> for RawMockCanisterHttpResponse
impl From<MockCanisterHttpResponse> for RawMockCanisterHttpResponse
Source§fn from(mock_canister_http_response: MockCanisterHttpResponse) -> Self
fn from(mock_canister_http_response: MockCanisterHttpResponse) -> Self
Converts to this type from the input type.
Source§impl From<RawMockCanisterHttpResponse> for MockCanisterHttpResponse
impl From<RawMockCanisterHttpResponse> for MockCanisterHttpResponse
Source§fn from(raw_mock_canister_http_response: RawMockCanisterHttpResponse) -> Self
fn from(raw_mock_canister_http_response: RawMockCanisterHttpResponse) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for RawMockCanisterHttpResponse
impl JsonSchema for RawMockCanisterHttpResponse
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for RawMockCanisterHttpResponse
impl RefUnwindSafe for RawMockCanisterHttpResponse
impl Send for RawMockCanisterHttpResponse
impl Sync for RawMockCanisterHttpResponse
impl Unpin for RawMockCanisterHttpResponse
impl UnsafeUnpin for RawMockCanisterHttpResponse
impl UnwindSafe for RawMockCanisterHttpResponse
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