[][src]Struct gcp_client::google::cloud::servicedirectory::v1beta1::Endpoint

pub struct Endpoint {
    pub name: String,
    pub address: String,
    pub port: i32,
    pub metadata: HashMap<String, String>,
}

An individual endpoint that provides a [service][google.cloud.servicedirectory.v1beta1.Service]. The service must already exist to create an endpoint.

Fields

name: String

Immutable. The resource name for the endpoint in the format 'projects//locations//namespaces//services//endpoints/*'.

address: String

Optional. An IPv4 or IPv6 address. Service Directory will reject bad addresses like: "8.8.8" "8.8.8.8:53" "test:bad:address" "[::1]" "[::1]:8080" Limited to 45 characters.

port: i32

Optional. Service Directory will reject values outside of [0, 65535].

metadata: HashMap<String, String>

Optional. Metadata for the endpoint. This data can be consumed by service clients. The entire metadata dictionary may contain up to 512 characters, spread accoss all key-value pairs. Metadata that goes beyond any these limits will be rejected.

Trait Implementations

impl Clone for Endpoint[src]

impl Debug for Endpoint[src]

impl Default for Endpoint[src]

impl Message for Endpoint[src]

impl PartialEq<Endpoint> for Endpoint[src]

impl StructuralPartialEq for Endpoint[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]