pub struct TypedResponseTransform<A: Debug + Clone + Default> {
pub tpe: String,
pub value: ResponseTransform<A>,
}Fields§
§tpe: String§value: ResponseTransform<A>Implementations§
Source§impl<A: Debug + Clone + Default> TypedResponseTransform<A>
impl<A: Debug + Clone + Default> TypedResponseTransform<A>
pub fn typed_cdni_metadata_name() -> String
pub fn typed_value<__A: Debug + Clone + Default>( sr: ResponseTransform<__A>, ) -> TypedResponseTransform<__A>
Trait Implementations§
Source§impl<A: Clone + Debug + Clone + Default> Clone for TypedResponseTransform<A>
impl<A: Clone + Debug + Clone + Default> Clone for TypedResponseTransform<A>
Source§fn clone(&self) -> TypedResponseTransform<A>
fn clone(&self) -> TypedResponseTransform<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de, A> Deserialize<'de> for TypedResponseTransform<A>
impl<'de, A> Deserialize<'de> for TypedResponseTransform<A>
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
Auto Trait Implementations§
impl<A> Freeze for TypedResponseTransform<A>where
A: Freeze,
impl<A> RefUnwindSafe for TypedResponseTransform<A>where
A: RefUnwindSafe,
impl<A> Send for TypedResponseTransform<A>where
A: Send,
impl<A> Sync for TypedResponseTransform<A>where
A: Sync,
impl<A> Unpin for TypedResponseTransform<A>where
A: Unpin,
impl<A> UnsafeUnpin for TypedResponseTransform<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for TypedResponseTransform<A>where
A: UnwindSafe,
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