Struct elasticsearch::license::License
source · pub struct License<'a> { /* private fields */ }
Expand description
Namespace client for License APIs
Implementations
sourceimpl<'a> License<'a>
impl<'a> License<'a>
pub fn transport(&self) -> &Transport
sourcepub fn delete<'b>(&'a self) -> LicenseDelete<'a, 'b>
pub fn delete<'b>(&'a self) -> LicenseDelete<'a, 'b>
Deletes licensing information for the cluster
sourcepub fn get<'b>(&'a self) -> LicenseGet<'a, 'b>
pub fn get<'b>(&'a self) -> LicenseGet<'a, 'b>
Retrieves licensing information for the cluster
sourcepub fn get_basic_status<'b>(&'a self) -> LicenseGetBasicStatus<'a, 'b>
pub fn get_basic_status<'b>(&'a self) -> LicenseGetBasicStatus<'a, 'b>
Retrieves information about the status of the basic license.
sourcepub fn get_trial_status<'b>(&'a self) -> LicenseGetTrialStatus<'a, 'b>
pub fn get_trial_status<'b>(&'a self) -> LicenseGetTrialStatus<'a, 'b>
Retrieves information about the status of the trial license.
sourcepub fn post<'b>(&'a self) -> LicensePost<'a, 'b, ()>
pub fn post<'b>(&'a self) -> LicensePost<'a, 'b, ()>
Updates the license for the cluster.
sourcepub fn post_start_basic<'b>(&'a self) -> LicensePostStartBasic<'a, 'b, ()>
pub fn post_start_basic<'b>(&'a self) -> LicensePostStartBasic<'a, 'b, ()>
Starts an indefinite basic license.
sourcepub fn post_start_trial<'b>(&'a self) -> LicensePostStartTrial<'a, 'b, ()>
pub fn post_start_trial<'b>(&'a self) -> LicensePostStartTrial<'a, 'b, ()>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more