pub struct SystemStatusResponse {
pub status: Option<i64>,
pub msg: Option<String>,
}Fields§
§status: Option<i64>§msg: Option<String>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§fn eq(&self, other: &SystemStatusResponse) -> bool
fn eq(&self, other: &SystemStatusResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.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