#[repr(C)]pub struct PacketProcessorPowerLevelTransitionRequest {
pub domain_id: u32,
pub options: u32,
pub control_argument: u64,
pub control_interface: u64,
pub reserved: u64,
}Fields§
§domain_id: u32Request targeting the provided power domain.
options: u32§control_argument: u64§control_interface: u64§reserved: u64Trait Implementations§
Source§impl Clone for PacketProcessorPowerLevelTransitionRequest
impl Clone for PacketProcessorPowerLevelTransitionRequest
Source§fn clone(&self) -> PacketProcessorPowerLevelTransitionRequest
fn clone(&self) -> PacketProcessorPowerLevelTransitionRequest
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 FromBytes for PacketProcessorPowerLevelTransitionRequest
impl FromBytes for PacketProcessorPowerLevelTransitionRequest
Source§impl PartialEq for PacketProcessorPowerLevelTransitionRequest
impl PartialEq for PacketProcessorPowerLevelTransitionRequest
Source§fn eq(&self, other: &PacketProcessorPowerLevelTransitionRequest) -> bool
fn eq(&self, other: &PacketProcessorPowerLevelTransitionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFromBytes for PacketProcessorPowerLevelTransitionRequest
impl TryFromBytes for PacketProcessorPowerLevelTransitionRequest
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for PacketProcessorPowerLevelTransitionRequest
impl Eq for PacketProcessorPowerLevelTransitionRequest
impl StructuralPartialEq for PacketProcessorPowerLevelTransitionRequest
Auto Trait Implementations§
impl Freeze for PacketProcessorPowerLevelTransitionRequest
impl RefUnwindSafe for PacketProcessorPowerLevelTransitionRequest
impl Send for PacketProcessorPowerLevelTransitionRequest
impl Sync for PacketProcessorPowerLevelTransitionRequest
impl Unpin for PacketProcessorPowerLevelTransitionRequest
impl UnwindSafe for PacketProcessorPowerLevelTransitionRequest
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