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