[][src]Struct elasticsearch::license::License

pub struct License<'a> { /* fields omitted */ }

Namespace client for License APIs

Implementations

impl<'a> License<'a>[src]

pub fn new(transport: &'a Transport) -> Self[src]

Creates a new instance of License

pub fn transport(&self) -> &Transport[src]

pub fn delete<'b>(&'a self) -> LicenseDelete<'a, 'b>[src]

License Delete API

Deletes licensing information for the cluster

pub fn get<'b>(&'a self) -> LicenseGet<'a, 'b>[src]

License Get API

Retrieves licensing information for the cluster

pub fn get_basic_status<'b>(&'a self) -> LicenseGetBasicStatus<'a, 'b>[src]

License Get Basic Status API

Retrieves information about the status of the basic license.

pub fn get_trial_status<'b>(&'a self) -> LicenseGetTrialStatus<'a, 'b>[src]

License Get Trial Status API

Retrieves information about the status of the trial license.

pub fn post<'b>(&'a self) -> LicensePost<'a, 'b, ()>[src]

License Post API

Updates the license for the cluster.

pub fn post_start_basic<'b>(&'a self) -> LicensePostStartBasic<'a, 'b, ()>[src]

License Post Start Basic API

Starts an indefinite basic license.

pub fn post_start_trial<'b>(&'a self) -> LicensePostStartTrial<'a, 'b, ()>[src]

License Post Start Trial API

starts a limited time trial license.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for License<'a>

impl<'a> Send for License<'a>

impl<'a> Sync for License<'a>

impl<'a> Unpin for License<'a>

impl<'a> !UnwindSafe for License<'a>

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, U> Into<U> for T where
    U: From<T>, 
[src]

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.