pub struct EndpointCreate {
pub url: String,
pub type: String,
pub traffic_policy: String,
pub description: Option<String>,
pub metadata: Option<String>,
pub bindings: Option<Vec<String>>,
}
Fields§
§url: String
the url of the endpoint
type: String
whether the endpoint is ephemeral
(served directly by an agent-initiated
tunnel) or edge
(served by an edge) or cloud (represents a cloud endpoint)
traffic_policy: String
The traffic policy attached to this endpoint
description: Option<String>
user-supplied description of the associated tunnel
metadata: Option<String>
user-supplied metadata of the associated tunnel or edge object
bindings: Option<Vec<String>>
the bindings associated with this endpoint
Trait Implementations§
Source§impl Clone for EndpointCreate
impl Clone for EndpointCreate
Source§fn clone(&self) -> EndpointCreate
fn clone(&self) -> EndpointCreate
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 EndpointCreate
impl Debug for EndpointCreate
Source§impl Default for EndpointCreate
impl Default for EndpointCreate
Source§fn default() -> EndpointCreate
fn default() -> EndpointCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointCreate
impl<'de> Deserialize<'de> for EndpointCreate
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 EndpointCreate
impl RefUnwindSafe for EndpointCreate
impl Send for EndpointCreate
impl Sync for EndpointCreate
impl Unpin for EndpointCreate
impl UnwindSafe for EndpointCreate
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