[][src]Struct elasticsearch::http::transport::CloudId

pub struct CloudId {
    pub name: String,
    pub url: Url,
}

An identifier that uniquely identifies an Elasticsearch cluster running on Elasticsearch service in Elastic Cloud.

See the Cloud Id documentation for more details.

Fields

name: String

The name of the cluster

url: Url

The url::Url to the cluster

Methods

impl CloudId[src]

pub fn parse(cloud_id: &str) -> Result<CloudId, Error>[src]

Parses a CloudId from a string slice representation of the id retrieved from the cloud web console

Trait Implementations

impl Clone for CloudId[src]

impl Debug for CloudId[src]

Auto Trait Implementations

impl RefUnwindSafe for CloudId

impl Send for CloudId

impl Sync for CloudId

impl Unpin for CloudId

impl UnwindSafe for CloudId

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> DynClone for T where
    T: Clone
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.