pub struct TCPEdge {
pub id: String,
pub description: String,
pub metadata: String,
pub created_at: String,
pub uri: String,
pub hostports: Option<Vec<String>>,
pub backend: Option<EndpointBackend>,
pub ip_restriction: Option<EndpointIPPolicy>,
pub traffic_policy: Option<EndpointTrafficPolicy>,
}
Fields§
§id: String
unique identifier of this edge
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.
created_at: String
timestamp when the edge was created, RFC 3339 format
uri: String
URI of the edge API resource
hostports: Option<Vec<String>>
hostports served by this edge
backend: Option<EndpointBackend>
edge modules
ip_restriction: Option<EndpointIPPolicy>
§traffic_policy: Option<EndpointTrafficPolicy>
the traffic policy associated with this edge or null
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TCPEdge
impl<'de> Deserialize<'de> for TCPEdge
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 TCPEdge
impl RefUnwindSafe for TCPEdge
impl Send for TCPEdge
impl Sync for TCPEdge
impl Unpin for TCPEdge
impl UnwindSafe for TCPEdge
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