#[repr(C, packed(1))]pub struct _LEAP_CONFIG_CHANGE_EVENT {
pub requestID: u32,
pub status: bool,
}Expand description
\ingroup Structs The result of a configuration change request. Contains a status of true for a successful change. Call LeapSaveConfigValue() to request a service config change. The change is performed asynchronously – and may fail. LeapPollConnection() returns this event structure when the request has been processed. Use the requestID value to correlate the response to the originating request. @returns The operation result code, a member of the eLeapRS enumeration. @since 3.0.0
Fields§
§requestID: u32An identifier for correlating the request and response. @since 3.0.0
status: boolThe result of the change operation: true on success; false on failure. @since 3.0.0
Trait Implementations§
Source§impl Clone for _LEAP_CONFIG_CHANGE_EVENT
impl Clone for _LEAP_CONFIG_CHANGE_EVENT
Source§fn clone(&self) -> _LEAP_CONFIG_CHANGE_EVENT
fn clone(&self) -> _LEAP_CONFIG_CHANGE_EVENT
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 _LEAP_CONFIG_CHANGE_EVENT
impl Debug for _LEAP_CONFIG_CHANGE_EVENT
impl Copy for _LEAP_CONFIG_CHANGE_EVENT
Auto Trait Implementations§
impl Freeze for _LEAP_CONFIG_CHANGE_EVENT
impl RefUnwindSafe for _LEAP_CONFIG_CHANGE_EVENT
impl Send for _LEAP_CONFIG_CHANGE_EVENT
impl Sync for _LEAP_CONFIG_CHANGE_EVENT
impl Unpin for _LEAP_CONFIG_CHANGE_EVENT
impl UnwindSafe for _LEAP_CONFIG_CHANGE_EVENT
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