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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more