pub struct ResponseContentTypeStrategy {
pub fnc: fn(Value) -> Result<Bytes, Error>,
pub key: &'static str,
}Fields§
§fnc: fn(Value) -> Result<Bytes, Error>§key: &'static strImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResponseContentTypeStrategy
impl RefUnwindSafe for ResponseContentTypeStrategy
impl Send for ResponseContentTypeStrategy
impl Sync for ResponseContentTypeStrategy
impl Unpin for ResponseContentTypeStrategy
impl UnwindSafe for ResponseContentTypeStrategy
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