pub struct CompressedServerConfig {
pub level: CompressionLevel,
pub server_name: Option<String>,
pub include_tools: Vec<String>,
pub exclude_tools: Vec<String>,
pub toonify: bool,
pub transform_mode: ProxyTransformMode,
pub config_source: BackendConfigSource,
}Expand description
Compression/runtime options shared by single-server and multi-server modes.
Fields§
§level: CompressionLevel§server_name: Option<String>§include_tools: Vec<String>§exclude_tools: Vec<String>§toonify: bool§transform_mode: ProxyTransformMode§config_source: BackendConfigSourceTrait Implementations§
Source§impl Clone for CompressedServerConfig
impl Clone for CompressedServerConfig
Source§fn clone(&self) -> CompressedServerConfig
fn clone(&self) -> CompressedServerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompressedServerConfig
impl Debug for CompressedServerConfig
Source§impl Default for CompressedServerConfig
impl Default for CompressedServerConfig
Source§fn default() -> CompressedServerConfig
fn default() -> CompressedServerConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for CompressedServerConfig
impl PartialEq for CompressedServerConfig
Source§fn eq(&self, other: &CompressedServerConfig) -> bool
fn eq(&self, other: &CompressedServerConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CompressedServerConfig
impl StructuralPartialEq for CompressedServerConfig
Auto Trait Implementations§
impl Freeze for CompressedServerConfig
impl RefUnwindSafe for CompressedServerConfig
impl Send for CompressedServerConfig
impl Sync for CompressedServerConfig
impl Unpin for CompressedServerConfig
impl UnsafeUnpin for CompressedServerConfig
impl UnwindSafe for CompressedServerConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.