pub struct ServerInfo {
pub version: String,
pub bucket_count: u64,
pub usage: u64,
pub uptime: u64,
pub oldest_record: u64,
pub latest_record: u64,
pub defaults: Defaults,
pub license: Option<License>,
}Expand description
Information about a ReductSoftware UG instance
Fields§
§version: StringVersion of ReductSoftware UG instance
bucket_count: u64Number of buckets
usage: u64Disk usage in bytes
uptime: u64Uptime in seconds
oldest_record: u64Oldest record in instance
latest_record: u64Latest record in instance
defaults: DefaultsDefault settings
license: Option<License>License information if it is None, then it is BUSL-1.1
Trait Implementations§
Source§impl Clone for ServerInfo
impl Clone for ServerInfo
Source§fn clone(&self) -> ServerInfo
fn clone(&self) -> ServerInfo
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 ServerInfo
impl Debug for ServerInfo
Source§impl Default for ServerInfo
impl Default for ServerInfo
Source§fn default() -> ServerInfo
fn default() -> ServerInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerInfo
impl<'de> Deserialize<'de> for ServerInfo
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
Source§impl PartialEq for ServerInfo
impl PartialEq for ServerInfo
Source§impl Serialize for ServerInfo
impl Serialize for ServerInfo
impl StructuralPartialEq for ServerInfo
Auto Trait Implementations§
impl Freeze for ServerInfo
impl RefUnwindSafe for ServerInfo
impl Send for ServerInfo
impl Sync for ServerInfo
impl Unpin for ServerInfo
impl UnwindSafe for ServerInfo
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