Struct libosdp_sys::osdp_cmd_file_tx
source · #[repr(C)]pub struct osdp_cmd_file_tx {
pub id: c_int,
pub flags: u32,
}Expand description
@brief File transfer start command
@param id Pre-agreed file ID between CP and PD. @param flags Reserved and set to zero by OSDP spec;
Note: flags upper bits are used by libosdp as: bit-31 - OSDP_CMD_FILE_TX_FLAG_CANCEL: cancel an ongoing transfer
Fields§
§id: c_int§flags: u32Trait 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 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 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 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