Struct shipcat_definitions::structs::kongfig::RateLimitingPluginConfig [−][src]
pub struct RateLimitingPluginConfig { pub minute: Option<u32>, pub hour: Option<u32>, pub day: Option<u32>, pub limit_by: String, pub policy: String, pub fault_tolerant: bool, pub hide_client_headers: bool, pub redis_host: Option<String>, pub redis_port: u32, pub redis_password: Option<String>, pub redis_timeout: u32, pub redis_database: u32, }
Fields
minute: Option<u32>
hour: Option<u32>
day: Option<u32>
limit_by: String
policy: String
fault_tolerant: bool
hide_client_headers: bool
redis_host: Option<String>
redis_port: u32
redis_password: Option<String>
redis_timeout: u32
redis_database: u32
Trait Implementations
impl Clone for RateLimitingPluginConfig
[src]
impl Clone for RateLimitingPluginConfig
[src]fn clone(&self) -> RateLimitingPluginConfig
[src]
fn clone(&self) -> RateLimitingPluginConfig
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for RateLimitingPluginConfig
[src]
impl Debug for RateLimitingPluginConfig
[src]impl Serialize for RateLimitingPluginConfig
[src]
impl Serialize for RateLimitingPluginConfig
[src]Auto Trait Implementations
impl RefUnwindSafe for RateLimitingPluginConfig
impl Send for RateLimitingPluginConfig
impl Sync for RateLimitingPluginConfig
impl Unpin for RateLimitingPluginConfig
impl UnwindSafe for RateLimitingPluginConfig
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more