pub struct HandlerCapabilities {
pub supports_async: bool,
pub supports_streaming: bool,
pub supports_websocket: bool,
pub supports_file_upload: bool,
pub max_payload_size: u64,
pub supported_content_types: Vec<String>,
}Expand description
Handler capabilities
Fields§
§supports_async: bool§supports_streaming: bool§supports_websocket: bool§supports_file_upload: bool§max_payload_size: u64§supported_content_types: Vec<String>Trait Implementations§
Source§impl Clone for HandlerCapabilities
impl Clone for HandlerCapabilities
Source§fn clone(&self) -> HandlerCapabilities
fn clone(&self) -> HandlerCapabilities
Returns a duplicate 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 HandlerCapabilities
impl Debug for HandlerCapabilities
Source§impl<'de> Deserialize<'de> for HandlerCapabilities
impl<'de> Deserialize<'de> for HandlerCapabilities
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 Freeze for HandlerCapabilities
impl RefUnwindSafe for HandlerCapabilities
impl Send for HandlerCapabilities
impl Sync for HandlerCapabilities
impl Unpin for HandlerCapabilities
impl UnwindSafe for HandlerCapabilities
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