pub struct RdmRequest {
pub destination_uid: PackageAddress,
pub parameter_id: u16,
pub data: DataPack,
}
Fields§
§destination_uid: PackageAddress
The unique id of the recipient of the request.
parameter_id: u16
The id that specifies the type of the package.
data: DataPack
The parameter data.
Implementations§
Source§impl RdmRequest
impl RdmRequest
Sourcepub fn empty(uid: PackageAddress, pid: u16) -> Self
pub fn empty(uid: PackageAddress, pid: u16) -> Self
Creates an RdmRequest with empty parameter data.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RdmRequest
impl RefUnwindSafe for RdmRequest
impl Send for RdmRequest
impl Sync for RdmRequest
impl Unpin for RdmRequest
impl UnwindSafe for RdmRequest
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