pub struct SystemStatusResponse {
pub android_latest_version: Option<String>,
pub android_min_version: Option<String>,
pub desktop_latest_version: Option<String>,
pub desktop_min_version: Option<String>,
pub ios_latest_version: Option<String>,
pub ios_min_version: Option<String>,
pub database_status: Option<String>,
pub filestore_status: Option<String>,
pub status: Option<String>,
pub can_receive_notifications: Option<String>,
}Fields§
§android_latest_version: Option<String>Latest Android version supported
android_min_version: Option<String>Minimum Android version supported
desktop_latest_version: Option<String>Latest desktop version supported
desktop_min_version: Option<String>Minimum desktop version supported
ios_latest_version: Option<String>Latest iOS version supported
ios_min_version: Option<String>Minimum iOS version supported
database_status: Option<String>Status of database ("OK" or "UNHEALTHY"). Included when get_server_status parameter set.
filestore_status: Option<String>Status of filestore ("OK" or "UNHEALTHY"). Included when get_server_status parameter set.
status: Option<String>Status of server ("OK" or "UNHEALTHY"). Included when get_server_status parameter set.
can_receive_notifications: Option<String>Whether the device id provided can receive notifications ("true", "false" or "unknown"). Included when device_id parameter set.
Implementations§
Source§impl SystemStatusResponse
impl SystemStatusResponse
pub fn new() -> SystemStatusResponse
Trait Implementations§
Source§impl Clone for SystemStatusResponse
impl Clone for SystemStatusResponse
Source§fn clone(&self) -> SystemStatusResponse
fn clone(&self) -> SystemStatusResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SystemStatusResponse
impl Debug for SystemStatusResponse
Source§impl Default for SystemStatusResponse
impl Default for SystemStatusResponse
Source§fn default() -> SystemStatusResponse
fn default() -> SystemStatusResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemStatusResponse
impl<'de> Deserialize<'de> for SystemStatusResponse
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 SystemStatusResponse
impl PartialEq for SystemStatusResponse
Source§impl Serialize for SystemStatusResponse
impl Serialize for SystemStatusResponse
impl StructuralPartialEq for SystemStatusResponse
Auto Trait Implementations§
impl Freeze for SystemStatusResponse
impl RefUnwindSafe for SystemStatusResponse
impl Send for SystemStatusResponse
impl Sync for SystemStatusResponse
impl Unpin for SystemStatusResponse
impl UnsafeUnpin for SystemStatusResponse
impl UnwindSafe for SystemStatusResponse
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