pub struct RewriteConfig {
pub enabled: bool,
pub max_request_bytes: u64,
pub prelude_system: Option<String>,
}Expand description
Request rewriting configuration
Fields§
§enabled: bool§max_request_bytes: u64§prelude_system: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for RewriteConfig
impl Clone for RewriteConfig
Source§fn clone(&self) -> RewriteConfig
fn clone(&self) -> RewriteConfig
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 RewriteConfig
impl Debug for RewriteConfig
Source§impl Default for RewriteConfig
impl Default for RewriteConfig
Source§impl<'de> Deserialize<'de> for RewriteConfig
impl<'de> Deserialize<'de> for RewriteConfig
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 RewriteConfig
impl RefUnwindSafe for RewriteConfig
impl Send for RewriteConfig
impl Sync for RewriteConfig
impl Unpin for RewriteConfig
impl UnwindSafe for RewriteConfig
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