pub struct RawCanisterHttpRequest {
pub subnet_id: RawSubnetId,
pub request_id: u64,
pub http_method: CanisterHttpMethod,
pub url: String,
pub headers: Vec<CanisterHttpHeader>,
pub body: Vec<u8>,
pub max_response_bytes: Option<u64>,
pub replication: CanisterHttpReplication,
pub pricing_version: CanisterHttpPricingVersion,
}Fields§
§subnet_id: RawSubnetId§request_id: u64§http_method: CanisterHttpMethod§url: String§headers: Vec<CanisterHttpHeader>§body: Vec<u8>§max_response_bytes: Option<u64>§replication: CanisterHttpReplication§pricing_version: CanisterHttpPricingVersionTrait Implementations§
Source§impl Clone for RawCanisterHttpRequest
impl Clone for RawCanisterHttpRequest
Source§impl Debug for RawCanisterHttpRequest
impl Debug for RawCanisterHttpRequest
Source§impl<'de> Deserialize<'de> for RawCanisterHttpRequest
impl<'de> Deserialize<'de> for RawCanisterHttpRequest
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<CanisterHttpRequest> for RawCanisterHttpRequest
impl From<CanisterHttpRequest> for RawCanisterHttpRequest
Source§fn from(canister_http_request: CanisterHttpRequest) -> Self
fn from(canister_http_request: CanisterHttpRequest) -> Self
Converts to this type from the input type.
Source§impl From<RawCanisterHttpRequest> for CanisterHttpRequest
impl From<RawCanisterHttpRequest> for CanisterHttpRequest
Source§fn from(raw_canister_http_request: RawCanisterHttpRequest) -> Self
fn from(raw_canister_http_request: RawCanisterHttpRequest) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for RawCanisterHttpRequest
impl JsonSchema for RawCanisterHttpRequest
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 RawCanisterHttpRequest
impl RefUnwindSafe for RawCanisterHttpRequest
impl Send for RawCanisterHttpRequest
impl Sync for RawCanisterHttpRequest
impl Unpin for RawCanisterHttpRequest
impl UnsafeUnpin for RawCanisterHttpRequest
impl UnwindSafe for RawCanisterHttpRequest
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