[−][src]Struct elasticsearch::license::License
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]
Deletes licensing information for the cluster
pub fn get<'b>(&'a self) -> LicenseGet<'a, 'b>
[src]
Retrieves licensing information for the cluster
pub fn get_basic_status<'b>(&'a self) -> LicenseGetBasicStatus<'a, 'b>
[src]
Retrieves information about the status of the basic license.
pub fn get_trial_status<'b>(&'a self) -> LicenseGetTrialStatus<'a, 'b>
[src]
Retrieves information about the status of the trial license.
pub fn post<'b>(&'a self) -> LicensePost<'a, 'b, ()>
[src]
Updates the license for the cluster.
pub fn post_start_basic<'b>(&'a self) -> LicensePostStartBasic<'a, 'b, ()>
[src]
Starts an indefinite basic license.
pub fn post_start_trial<'b>(&'a self) -> LicensePostStartTrial<'a, 'b, ()>
[src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,