Struct ic_cdk::api::management_canister::http_request::TransformArgs
source · pub struct TransformArgs {
pub response: HttpResponse,
pub context: Vec<u8>,
}
Expand description
Type used for encoding/decoding:
record { response : http_response; context : blob; }
Fields§
§response: HttpResponse
Raw response from remote service, to be transformed
context: Vec<u8>
Context for response transformation
Trait Implementations§
source§impl CandidType for TransformArgs
impl CandidType for TransformArgs
source§impl Clone for TransformArgs
impl Clone for TransformArgs
source§fn clone(&self) -> TransformArgs
fn clone(&self) -> TransformArgs
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 Debug for TransformArgs
impl Debug for TransformArgs
source§impl<'de> Deserialize<'de> for TransformArgs
impl<'de> Deserialize<'de> for TransformArgs
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 Hash for TransformArgs
impl Hash for TransformArgs
source§impl PartialEq for TransformArgs
impl PartialEq for TransformArgs
source§impl Serialize for TransformArgs
impl Serialize for TransformArgs
impl Eq for TransformArgs
impl StructuralPartialEq for TransformArgs
Auto Trait Implementations§
impl Freeze for TransformArgs
impl RefUnwindSafe for TransformArgs
impl Send for TransformArgs
impl Sync for TransformArgs
impl Unpin for TransformArgs
impl UnwindSafe for TransformArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)