pub struct FetchTerminalStatusResponseData {
pub online: bool,
pub available: bool,
}
Expand description
This struct represents the data of the event status
Fields§
§online: bool
If terminal is online or not.
available: bool
If the terminal is available or not.
Trait Implementations§
source§impl Clone for FetchTerminalStatusResponseData
impl Clone for FetchTerminalStatusResponseData
source§fn clone(&self) -> FetchTerminalStatusResponseData
fn clone(&self) -> FetchTerminalStatusResponseData
Returns a copy 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<'de> Deserialize<'de> for FetchTerminalStatusResponseData
impl<'de> Deserialize<'de> for FetchTerminalStatusResponseData
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 RefUnwindSafe for FetchTerminalStatusResponseData
impl Send for FetchTerminalStatusResponseData
impl Sync for FetchTerminalStatusResponseData
impl Unpin for FetchTerminalStatusResponseData
impl UnwindSafe for FetchTerminalStatusResponseData
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