pub struct UpdateRobotParams {
pub robot_id: i32,
pub robot: Robot,
pub x_request_id: Option<String>,
}Expand description
struct for passing parameters to the method update_robot
Fields§
§robot_id: i32Robot ID
robot: RobotThe JSON object of a robot account.
x_request_id: Option<String>An unique ID for the request
Trait Implementations§
Source§impl Clone for UpdateRobotParams
impl Clone for UpdateRobotParams
Source§fn clone(&self) -> UpdateRobotParams
fn clone(&self) -> UpdateRobotParams
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 moreAuto Trait Implementations§
impl Freeze for UpdateRobotParams
impl RefUnwindSafe for UpdateRobotParams
impl Send for UpdateRobotParams
impl Sync for UpdateRobotParams
impl Unpin for UpdateRobotParams
impl UnwindSafe for UpdateRobotParams
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