Struct shipcat_definitions::structs::kongfig::CorsPluginConfig [−][src]
pub struct CorsPluginConfig { pub methods: Vec<String>, pub exposed_headers: Vec<String>, pub max_age: u32, pub origins: Vec<String>, pub headers: Vec<String>, pub credentials: bool, pub preflight_continue: bool, }
Expand description
Plugins and their configs
Fields
methods: Vec<String>
exposed_headers: Vec<String>
max_age: u32
origins: Vec<String>
headers: Vec<String>
credentials: bool
preflight_continue: bool
Trait Implementations
impl Clone for CorsPluginConfig
[src]
impl Clone for CorsPluginConfig
[src]fn clone(&self) -> CorsPluginConfig
[src]
fn clone(&self) -> CorsPluginConfig
[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 CorsPluginConfig
[src]
impl Debug for CorsPluginConfig
[src]impl Default for CorsPluginConfig
[src]
impl Default for CorsPluginConfig
[src]fn default() -> CorsPluginConfig
[src]
fn default() -> CorsPluginConfig
[src]Returns the “default value” for a type. Read more
impl Serialize for CorsPluginConfig
[src]
impl Serialize for CorsPluginConfig
[src]Auto Trait Implementations
impl RefUnwindSafe for CorsPluginConfig
impl Send for CorsPluginConfig
impl Sync for CorsPluginConfig
impl Unpin for CorsPluginConfig
impl UnwindSafe for CorsPluginConfig
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