Struct ChangeAlarmRequest
pub struct ChangeAlarmRequest<'input> {
pub id: u32,
pub value_list: Cow<'input, ChangeAlarmAux>,
}
Fields§
§id: u32
§value_list: Cow<'input, ChangeAlarmAux>
Implementations§
§impl<'input> ChangeAlarmRequest<'input>
impl<'input> ChangeAlarmRequest<'input>
pub fn serialize(
self,
major_opcode: u8,
) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
pub fn serialize( self, major_opcode: u8, ) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
Serialize this request into bytes for the provided connection
pub fn into_owned(self) -> ChangeAlarmRequest<'static>
pub fn into_owned(self) -> ChangeAlarmRequest<'static>
Clone all borrowed data in this ChangeAlarmRequest.
Trait Implementations§
§impl<'input> Clone for ChangeAlarmRequest<'input>
impl<'input> Clone for ChangeAlarmRequest<'input>
§fn clone(&self) -> ChangeAlarmRequest<'input>
fn clone(&self) -> ChangeAlarmRequest<'input>
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 more§impl Debug for ChangeAlarmRequest<'_>
impl Debug for ChangeAlarmRequest<'_>
§impl<'input> Default for ChangeAlarmRequest<'input>
impl<'input> Default for ChangeAlarmRequest<'input>
§fn default() -> ChangeAlarmRequest<'input>
fn default() -> ChangeAlarmRequest<'input>
Returns the “default value” for a type. Read more
§impl<'input> Request for ChangeAlarmRequest<'input>
impl<'input> Request for ChangeAlarmRequest<'input>
impl<'input> VoidRequest for ChangeAlarmRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for ChangeAlarmRequest<'input>
impl<'input> RefUnwindSafe for ChangeAlarmRequest<'input>
impl<'input> Send for ChangeAlarmRequest<'input>
impl<'input> Sync for ChangeAlarmRequest<'input>
impl<'input> Unpin for ChangeAlarmRequest<'input>
impl<'input> UnwindSafe for ChangeAlarmRequest<'input>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)