Struct ic_pluto::http::RawHttpRequest
source · pub struct RawHttpRequest { /* private fields */ }Expand description
RawHttpRequest is the request type that is sent by the client. It is a raw version of HttpRequest. It is compatible with the Candid type. It is used in the ‘http_request’ and ‘http_request_update’ function of the canister and it is provided by the IC. It is converted to HttpRequest before it is used in the handler.
Trait Implementations§
source§impl CandidType for RawHttpRequest
impl CandidType for RawHttpRequest
source§impl Clone for RawHttpRequest
impl Clone for RawHttpRequest
source§fn clone(&self) -> RawHttpRequest
fn clone(&self) -> RawHttpRequest
Returns a copy 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 moresource§impl<'de> Deserialize<'de> for RawHttpRequest
impl<'de> Deserialize<'de> for RawHttpRequest
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<RawHttpRequest> for HttpRequest
impl From<RawHttpRequest> for HttpRequest
source§fn from(req: RawHttpRequest) -> Self
fn from(req: RawHttpRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RawHttpRequest
impl RefUnwindSafe for RawHttpRequest
impl Send for RawHttpRequest
impl Sync for RawHttpRequest
impl Unpin for RawHttpRequest
impl UnwindSafe for RawHttpRequest
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