#[non_exhaustive]pub struct AdminStatus {
pub name: String,
pub version: String,
pub uptime_seconds: u64,
pub started_at_epoch: u64,
}Expand description
/admin/status response body.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringServer name.
version: StringServer version string.
uptime_seconds: u64Seconds since the server process started.
started_at_epoch: u64Wall-clock UNIX epoch at startup.
Trait Implementations§
Source§impl Clone for AdminStatus
impl Clone for AdminStatus
Source§fn clone(&self) -> AdminStatus
fn clone(&self) -> AdminStatus
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 AdminStatus
impl Debug for AdminStatus
Auto Trait Implementations§
impl Freeze for AdminStatus
impl RefUnwindSafe for AdminStatus
impl Send for AdminStatus
impl Sync for AdminStatus
impl Unpin for AdminStatus
impl UnsafeUnpin for AdminStatus
impl UnwindSafe for AdminStatus
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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