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
)