pub struct TLSEdgeCreate {
pub description: String,
pub metadata: String,
pub hostports: Option<Vec<String>>,
pub backend: Option<EndpointBackendMutate>,
pub ip_restriction: Option<EndpointIPPolicyMutate>,
pub mutual_tls: Option<EndpointMutualTLSMutate>,
pub tls_termination: Option<EndpointTLSTermination>,
pub traffic_policy: Option<EndpointTrafficPolicy>,
}
Fields§
§description: String
human-readable description of what this edge will be used for; optional, max 255 bytes.
metadata: String
arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.
hostports: Option<Vec<String>>
hostports served by this edge
backend: Option<EndpointBackendMutate>
edge modules
ip_restriction: Option<EndpointIPPolicyMutate>
§mutual_tls: Option<EndpointMutualTLSMutate>
§tls_termination: Option<EndpointTLSTermination>
§traffic_policy: Option<EndpointTrafficPolicy>
the traffic policy associated with this edge or null
Trait Implementations§
Source§impl Clone for TLSEdgeCreate
impl Clone for TLSEdgeCreate
Source§fn clone(&self) -> TLSEdgeCreate
fn clone(&self) -> TLSEdgeCreate
Returns a duplicate of the value. Read more
1.0.0 · 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 TLSEdgeCreate
impl Debug for TLSEdgeCreate
Source§impl Default for TLSEdgeCreate
impl Default for TLSEdgeCreate
Source§fn default() -> TLSEdgeCreate
fn default() -> TLSEdgeCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TLSEdgeCreate
impl<'de> Deserialize<'de> for TLSEdgeCreate
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 TLSEdgeCreate
impl RefUnwindSafe for TLSEdgeCreate
impl Send for TLSEdgeCreate
impl Sync for TLSEdgeCreate
impl Unpin for TLSEdgeCreate
impl UnwindSafe for TLSEdgeCreate
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