pub struct WebsiteStatusRequest {
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub subscribe: Option<Subscribe>,
pub website_status: i64,
}
Expand description
Request server status.
Fields§
§passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
subscribe: Option<Subscribe>
[Optional] 1
to stream the server/website status updates.\n
website_status: i64
Must be 1
\n
Trait Implementations§
Source§impl Clone for WebsiteStatusRequest
impl Clone for WebsiteStatusRequest
Source§fn clone(&self) -> WebsiteStatusRequest
fn clone(&self) -> WebsiteStatusRequest
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 WebsiteStatusRequest
impl Debug for WebsiteStatusRequest
Source§impl<'de> Deserialize<'de> for WebsiteStatusRequest
impl<'de> Deserialize<'de> for WebsiteStatusRequest
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 WebsiteStatusRequest
impl RefUnwindSafe for WebsiteStatusRequest
impl Send for WebsiteStatusRequest
impl Sync for WebsiteStatusRequest
impl Unpin for WebsiteStatusRequest
impl UnwindSafe for WebsiteStatusRequest
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