pub struct PowerInformationResponse {
pub power_mode: PowerMode,
}Expand description
Expected reponse from PowerInformationRequest.
Containing details of the target of the PowerInformationRequest, the
EntityStatusResponse provides the program with details pertaining to the
active power mode status of the entity.
Fields§
§power_mode: PowerModePossible power modes available
Trait Implementations§
Source§impl Clone for PowerInformationResponse
impl Clone for PowerInformationResponse
Source§fn clone(&self) -> PowerInformationResponse
fn clone(&self) -> PowerInformationResponse
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 PowerInformationResponse
impl Debug for PowerInformationResponse
Source§impl From<PowerInformationResponse> for [u8; 1]
impl From<PowerInformationResponse> for [u8; 1]
Source§fn from(value: PowerInformationResponse) -> Self
fn from(value: PowerInformationResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PowerInformationResponse
impl PartialEq for PowerInformationResponse
Source§impl TryFrom<&[u8]> for PowerInformationResponse
impl TryFrom<&[u8]> for PowerInformationResponse
impl Copy for PowerInformationResponse
impl StructuralPartialEq for PowerInformationResponse
Auto Trait Implementations§
impl Freeze for PowerInformationResponse
impl RefUnwindSafe for PowerInformationResponse
impl Send for PowerInformationResponse
impl Sync for PowerInformationResponse
impl Unpin for PowerInformationResponse
impl UnsafeUnpin for PowerInformationResponse
impl UnwindSafe for PowerInformationResponse
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