pub struct SwitchPositionModeResponse { /* private fields */ }Implementations§
Source§impl SwitchPositionModeResponse
impl SwitchPositionModeResponse
pub fn ret_code(&self) -> i32
pub fn set_ret_code(&mut self, ret_code: i32)
pub fn ret_msg(&self) -> &str
pub fn set_ret_msg(&mut self, ret_msg: String)
pub fn result(&self) -> &Value
pub fn set_result(&mut self, result: Value)
pub fn ret_ext_info(&self) -> &Value
pub fn set_ret_ext_info(&mut self, ret_ext_info: Value)
pub fn time(&self) -> u64
pub fn set_time(&mut self, time: u64)
Trait Implementations§
Source§impl Clone for SwitchPositionModeResponse
impl Clone for SwitchPositionModeResponse
Source§fn clone(&self) -> SwitchPositionModeResponse
fn clone(&self) -> SwitchPositionModeResponse
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 SwitchPositionModeResponse
impl Debug for SwitchPositionModeResponse
Source§impl<'de> Deserialize<'de> for SwitchPositionModeResponse
impl<'de> Deserialize<'de> for SwitchPositionModeResponse
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 SwitchPositionModeResponse
impl RefUnwindSafe for SwitchPositionModeResponse
impl Send for SwitchPositionModeResponse
impl Sync for SwitchPositionModeResponse
impl Unpin for SwitchPositionModeResponse
impl UnwindSafe for SwitchPositionModeResponse
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