pub struct XtreamServerInfo {
pub xui: Option<Value>,
pub version: Option<String>,
pub revision: Option<String>,
pub url: Option<String>,
pub port: Option<Value>,
pub https_port: Option<Value>,
pub server_protocol: Option<String>,
pub rtmp_port: Option<Value>,
pub timezone: Option<String>,
pub timestamp_now: Option<i64>,
pub time_now: Option<String>,
}Expand description
Server information.
Fields§
§xui: Option<Value>Whether this is a XUI instance.
version: Option<String>Software version.
revision: Option<String>Software revision.
url: Option<String>Base URL of the server.
port: Option<Value>HTTP port.
https_port: Option<Value>HTTPS port.
server_protocol: Option<String>Server protocol (http / https).
rtmp_port: Option<Value>RTMP port.
timezone: Option<String>Server timezone.
timestamp_now: Option<i64>Current server timestamp.
time_now: Option<String>Current server time as formatted string.
Trait Implementations§
Source§impl Clone for XtreamServerInfo
impl Clone for XtreamServerInfo
Source§fn clone(&self) -> XtreamServerInfo
fn clone(&self) -> XtreamServerInfo
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 XtreamServerInfo
impl Debug for XtreamServerInfo
Source§impl<'de> Deserialize<'de> for XtreamServerInfo
impl<'de> Deserialize<'de> for XtreamServerInfo
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 XtreamServerInfo
impl RefUnwindSafe for XtreamServerInfo
impl Send for XtreamServerInfo
impl Sync for XtreamServerInfo
impl Unpin for XtreamServerInfo
impl UnsafeUnpin for XtreamServerInfo
impl UnwindSafe for XtreamServerInfo
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