Struct govee_api::structs::govee::PayloadBody
source · pub struct PayloadBody {
pub device: String,
pub model: String,
pub cmd: GoveeCommand,
}Fields§
§device: String§model: String§cmd: GoveeCommandTrait Implementations§
source§impl Clone for PayloadBody
impl Clone for PayloadBody
source§fn clone(&self) -> PayloadBody
fn clone(&self) -> PayloadBody
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 moreAuto Trait Implementations§
impl RefUnwindSafe for PayloadBody
impl Send for PayloadBody
impl Sync for PayloadBody
impl Unpin for PayloadBody
impl UnwindSafe for PayloadBody
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