pub struct VariablesResponse {
pub body: VariablesResponseBody,
pub command: String,
pub message: Option<String>,
pub request_seq: i64,
pub seq: i64,
pub success: bool,
pub type_: String,
}
Fields§
§body: VariablesResponseBody
Contains request result if success is true and optional error details if success is false.
command: String
The command requested.
message: Option<String>
Contains error message if success == false.
request_seq: i64
Sequence number of the corresponding request.
seq: i64
Sequence number.
success: bool
Outcome of the request.
type_: String
Message type.
Trait Implementations§
Source§impl Clone for VariablesResponse
impl Clone for VariablesResponse
Source§fn clone(&self) -> VariablesResponse
fn clone(&self) -> VariablesResponse
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 Debug for VariablesResponse
impl Debug for VariablesResponse
Source§impl<'de> Deserialize<'de> for VariablesResponse
impl<'de> Deserialize<'de> for VariablesResponse
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 VariablesResponse
impl PartialEq for VariablesResponse
Source§impl Serialize for VariablesResponse
impl Serialize for VariablesResponse
impl StructuralPartialEq for VariablesResponse
Auto Trait Implementations§
impl Freeze for VariablesResponse
impl RefUnwindSafe for VariablesResponse
impl Send for VariablesResponse
impl Sync for VariablesResponse
impl Unpin for VariablesResponse
impl UnwindSafe for VariablesResponse
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