pub struct RewriteConfig {
pub proxy_url: String,
pub proxy_domain: String,
pub mcp_upstream: String,
pub extra_csp_domains: Vec<String>,
pub csp_mode: CspMode,
}Fields§
§proxy_url: String§proxy_domain: String§mcp_upstream: String§extra_csp_domains: Vec<String>§csp_mode: CspModeTrait 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 moreAuto Trait Implementations§
impl Freeze for RewriteConfig
impl RefUnwindSafe for RewriteConfig
impl Send for RewriteConfig
impl Sync for RewriteConfig
impl Unpin for RewriteConfig
impl UnsafeUnpin 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