pub struct RawHttpResponse { /* private fields */ }Expand description
RawHttpResponse is the response type that is sent back to the client. It is a raw version of HttpResponse. It is compatible with the Candid type.
Trait Implementations§
Source§impl CandidType for RawHttpResponse
impl CandidType for RawHttpResponse
Source§impl<'de> Deserialize<'de> for RawHttpResponse
impl<'de> Deserialize<'de> for RawHttpResponse
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<HttpResponse> for RawHttpResponse
impl From<HttpResponse> for RawHttpResponse
Source§fn from(res: HttpResponse) -> Self
fn from(res: HttpResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RawHttpResponse
impl RefUnwindSafe for RawHttpResponse
impl Send for RawHttpResponse
impl Sync for RawHttpResponse
impl Unpin for RawHttpResponse
impl UnwindSafe for RawHttpResponse
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