pub struct ListenerLimits {
pub max_header_bytes: Number<4096, 65536>,
pub registration_body_bytes: Number<1, 16777216>,
pub other_body_bytes: Number<1, 4194304>,
pub max_connections: Number<1, 65536>,
pub max_http2_streams: Number<1, 1024>,
pub requests_per_second: Number<1, 10000>,
}Fields§
§max_header_bytes: Number<4096, 65536>§registration_body_bytes: Number<1, 16777216>§other_body_bytes: Number<1, 4194304>§max_connections: Number<1, 65536>§max_http2_streams: Number<1, 1024>§requests_per_second: Number<1, 10000>Trait Implementations§
Source§impl Clone for ListenerLimits
impl Clone for ListenerLimits
Source§impl Debug for ListenerLimits
impl Debug for ListenerLimits
Source§impl<'de> Deserialize<'de> for ListenerLimits
impl<'de> Deserialize<'de> for ListenerLimits
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 JsonSchema for ListenerLimits
impl JsonSchema for ListenerLimits
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ListenerLimits
impl PartialEq for ListenerLimits
Source§impl Serialize for ListenerLimits
impl Serialize for ListenerLimits
impl StructuralPartialEq for ListenerLimits
Auto Trait Implementations§
impl Freeze for ListenerLimits
impl RefUnwindSafe for ListenerLimits
impl Send for ListenerLimits
impl Sync for ListenerLimits
impl Unpin for ListenerLimits
impl UnsafeUnpin for ListenerLimits
impl UnwindSafe for ListenerLimits
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