pub struct License {
pub license_key: String,
pub type_: String,
pub expired: bool,
pub expiration_date: Option<String>,
pub shards_limit: Option<u32>,
pub node_limit: Option<u32>,
pub features: Option<Vec<String>>,
pub owner: Option<String>,
pub extra: Value,
}
Expand description
License information
Fields§
§license_key: String
§type_: String
§expired: bool
§expiration_date: Option<String>
§shards_limit: Option<u32>
§node_limit: Option<u32>
§features: Option<Vec<String>>
§owner: Option<String>
§extra: Value
Trait Implementations§
Source§impl<'de> Deserialize<'de> for License
impl<'de> Deserialize<'de> for License
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 License
impl RefUnwindSafe for License
impl Send for License
impl Sync for License
impl Unpin for License
impl UnwindSafe for License
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