#[repr(C)]pub struct osdp_cmd_file_tx {
pub id: c_int,
pub flags: u32,
}
Expand description
@brief File transfer start command
Fields§
§id: c_int
Pre-agreed file ID between CP and PD
flags: u32
Reserved and set to zero by OSDP spec.
@note: The upper bits are used by libosdp as: bit-31 - OSDP_CMD_FILE_TX_FLAG_CANCEL: cancel an ongoing transfer
Trait Implementations§
Source§impl Clone for osdp_cmd_file_tx
impl Clone for osdp_cmd_file_tx
Source§fn clone(&self) -> osdp_cmd_file_tx
fn clone(&self) -> osdp_cmd_file_tx
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 osdp_cmd_file_tx
impl Debug for osdp_cmd_file_tx
impl Copy for osdp_cmd_file_tx
Auto Trait Implementations§
impl Freeze for osdp_cmd_file_tx
impl RefUnwindSafe for osdp_cmd_file_tx
impl Send for osdp_cmd_file_tx
impl Sync for osdp_cmd_file_tx
impl Unpin for osdp_cmd_file_tx
impl UnwindSafe for osdp_cmd_file_tx
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