Struct cdp::system_info::GetInfoCommand
[−]
[src]
pub struct GetInfoCommand;
[Experimental] Returns information about the system.
Command SystemInfo.getInfo
Domain Module: cdp::system_info
Command Struct: cdp::system_info::GetInfoCommand
Response Struct: cdp::system_info::GetInfoResponse
Trait Implementations
impl Clone for GetInfoCommand[src]
fn clone(&self) -> GetInfoCommand[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for GetInfoCommand[src]
impl PartialEq for GetInfoCommand[src]
fn eq(&self, __arg_0: &GetInfoCommand) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Serialize for GetInfoCommand[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, [src]
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for GetInfoCommand[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl CdpCommand for GetInfoCommand[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "SystemInfo.getInfo"
impl SerializeCdpCommand for GetInfoCommand[src]
fn command_name(&self) -> &str[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, [src]
S: Serializer,
impl<'de> DeserializeCdpCommand<'de> for GetInfoCommand[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>, [src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,