pub struct CustomOriginConfig {
pub http_port: i32,
pub https_port: i32,
pub origin_protocol_policy: String,
pub origin_ssl_protocols: Vec<String>,
pub origin_read_timeout: i32,
pub origin_keepalive_timeout: i32,
}Expand description
Custom (HTTP) origin configuration.
Fields§
§http_port: i32HTTP port.
https_port: i32HTTPS port.
origin_protocol_policy: Stringhttp-only, https-only, match-viewer.
origin_ssl_protocols: Vec<String>List of allowed SSL/TLS versions.
origin_read_timeout: i32Read timeout in seconds.
origin_keepalive_timeout: i32Keep-alive timeout in seconds.
Trait Implementations§
Source§impl Clone for CustomOriginConfig
impl Clone for CustomOriginConfig
Source§fn clone(&self) -> CustomOriginConfig
fn clone(&self) -> CustomOriginConfig
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 CustomOriginConfig
impl Debug for CustomOriginConfig
Source§impl Default for CustomOriginConfig
impl Default for CustomOriginConfig
Source§fn default() -> CustomOriginConfig
fn default() -> CustomOriginConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomOriginConfig
impl<'de> Deserialize<'de> for CustomOriginConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomOriginConfig
impl RefUnwindSafe for CustomOriginConfig
impl Send for CustomOriginConfig
impl Sync for CustomOriginConfig
impl Unpin for CustomOriginConfig
impl UnsafeUnpin for CustomOriginConfig
impl UnwindSafe for CustomOriginConfig
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