pub struct LicenseUsage {
pub shards_used: u32,
pub shards_limit: u32,
pub nodes_used: u32,
pub nodes_limit: u32,
pub ram_used: Option<u64>,
pub ram_limit: Option<u64>,
pub extra: Value,
}
Expand description
License usage statistics
Fields§
§shards_used: u32
Number of shards currently in use
shards_limit: u32
Maximum number of shards allowed by license
nodes_used: u32
Number of nodes currently in use
nodes_limit: u32
Maximum number of nodes allowed by license
ram_used: Option<u64>
Amount of RAM currently in use (bytes)
ram_limit: Option<u64>
Maximum amount of RAM allowed by license (bytes)
extra: Value
Trait Implementations§
Source§impl Clone for LicenseUsage
impl Clone for LicenseUsage
Source§fn clone(&self) -> LicenseUsage
fn clone(&self) -> LicenseUsage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LicenseUsage
impl Debug for LicenseUsage
Source§impl<'de> Deserialize<'de> for LicenseUsage
impl<'de> Deserialize<'de> for LicenseUsage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LicenseUsage
impl RefUnwindSafe for LicenseUsage
impl Send for LicenseUsage
impl Sync for LicenseUsage
impl Unpin for LicenseUsage
impl UnwindSafe for LicenseUsage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more