pub struct SystemInfo {
pub http_headers: HashMap<String, String>,
pub http_host: String,
pub http_is_secure: bool,
pub runtime: Box<SystemInfoRuntime>,
pub brand: String,
pub server_time: String,
pub embedded_outpost_disabled: bool,
pub embedded_outpost_host: String,
}
Expand description
SystemInfo : Get system information.
Fields§
§http_headers: HashMap<String, String>
Get HTTP Request headers
http_host: String
Get HTTP host
http_is_secure: bool
Get HTTP Secure flag
runtime: Box<SystemInfoRuntime>
§brand: String
Currently active brand
server_time: String
Current server time
embedded_outpost_disabled: bool
Whether the embedded outpost is disabled
embedded_outpost_host: String
Get the FQDN configured on the embedded outpost
Implementations§
Trait Implementations§
Source§impl Clone for SystemInfo
impl Clone for SystemInfo
Source§fn clone(&self) -> SystemInfo
fn clone(&self) -> SystemInfo
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 SystemInfo
impl Debug for SystemInfo
Source§impl Default for SystemInfo
impl Default for SystemInfo
Source§fn default() -> SystemInfo
fn default() -> SystemInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemInfo
impl<'de> Deserialize<'de> for SystemInfo
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 SystemInfo
impl PartialEq for SystemInfo
Source§impl Serialize for SystemInfo
impl Serialize for SystemInfo
impl StructuralPartialEq for SystemInfo
Auto Trait Implementations§
impl Freeze for SystemInfo
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnwindSafe for SystemInfo
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