Struct shipcat_definitions::structs::kongfig::ApiAttributes [−][src]
pub struct ApiAttributes {
pub hosts: Vec<String>,
pub uris: Option<Vec<String>>,
pub methods: Option<Vec<String>>,
pub strip_uri: bool,
pub preserve_host: bool,
pub upstream_url: String,
pub retries: u32,
pub upstream_connect_timeout: u32,
pub upstream_read_timeout: u32,
pub upstream_send_timeout: u32,
pub https_only: bool,
pub http_if_terminated: bool,
}Fields
hosts: Vec<String>uris: Option<Vec<String>>methods: Option<Vec<String>>strip_uri: boolpreserve_host: boolupstream_url: Stringretries: u32upstream_connect_timeout: u32upstream_read_timeout: u32upstream_send_timeout: u32https_only: boolhttp_if_terminated: boolTrait Implementations
impl Clone for ApiAttributes[src]
impl Clone for ApiAttributes[src]fn clone(&self) -> ApiAttributes[src]
fn clone(&self) -> ApiAttributes[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 ApiAttributes[src]
impl Debug for ApiAttributes[src]impl Default for ApiAttributes[src]
impl Default for ApiAttributes[src]fn default() -> ApiAttributes[src]
fn default() -> ApiAttributes[src]Returns the “default value” for a type. Read more
impl Serialize for ApiAttributes[src]
impl Serialize for ApiAttributes[src]Auto Trait Implementations
impl RefUnwindSafe for ApiAttributes
impl Send for ApiAttributes
impl Sync for ApiAttributes
impl Unpin for ApiAttributes
impl UnwindSafe for ApiAttributes
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 = TThe 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