pub struct Endpoint {
Show 13 fields pub id: String, pub region: String, pub created_at: String, pub updated_at: String, pub public_url: String, pub proto: String, pub hostport: String, pub type: String, pub metadata: String, pub domain: Option<Ref>, pub tcp_addr: Option<Ref>, pub tunnel: Option<Ref>, pub edge: Option<Ref>,
}

Fields

id: String

unique endpoint resource identifier

region: String

identifier of the region this endpoint belongs to

created_at: String

timestamp when the endpoint was created in RFC 3339 format

updated_at: String

timestamp when the endpoint was updated in RFC 3339 format

public_url: String

URL of the hostport served by this endpoint

proto: String

protocol served by this endpoint. one of http, https, tcp, or tls

hostport: String

hostport served by this endpoint (hostname:port)

type: String

whether the endpoint is ephemeral (served directly by an agent-initiated tunnel) or edge (served by an edge)

metadata: String

user-supplied metadata of the associated tunnel or edge object

domain: Option<Ref>

the domain reserved for this endpoint

tcp_addr: Option<Ref>

the address reserved for this endpoint

tunnel: Option<Ref>

the tunnel serving requests to this endpoint, if this is an ephemeral endpoint

edge: Option<Ref>

the edge serving requests to this endpoint, if this is an edge endpoint

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more