pub struct TCPEdgeUpdate {
pub id: String,
pub description: Option<String>,
pub metadata: Option<String>,
pub hostports: Option<Vec<String>>,
pub backend: Option<EndpointBackendMutate>,
pub ip_restriction: Option<EndpointIPPolicyMutate>,
pub traffic_policy: Option<EndpointTrafficPolicy>,
}
Fields§
§id: String
unique identifier of this edge
description: Option<String>
human-readable description of what this edge will be used for; optional, max 255 bytes.
metadata: Option<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>
§traffic_policy: Option<EndpointTrafficPolicy>
the traffic policy associated with this edge or null
Trait Implementations§
Source§impl Clone for TCPEdgeUpdate
impl Clone for TCPEdgeUpdate
Source§fn clone(&self) -> TCPEdgeUpdate
fn clone(&self) -> TCPEdgeUpdate
Returns a copy 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 TCPEdgeUpdate
impl Debug for TCPEdgeUpdate
Source§impl Default for TCPEdgeUpdate
impl Default for TCPEdgeUpdate
Source§fn default() -> TCPEdgeUpdate
fn default() -> TCPEdgeUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TCPEdgeUpdate
impl<'de> Deserialize<'de> for TCPEdgeUpdate
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 TCPEdgeUpdate
impl RefUnwindSafe for TCPEdgeUpdate
impl Send for TCPEdgeUpdate
impl Sync for TCPEdgeUpdate
impl Unpin for TCPEdgeUpdate
impl UnwindSafe for TCPEdgeUpdate
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