pub struct BlewPluginConfig {
pub auto_request_permissions: bool,
}Expand description
Plugin configuration.
Fields§
§auto_request_permissions: boolIf true (default), Android BLE runtime permissions are requested
immediately when the plugin loads. Set to false to defer the request
so your app can show an explanation modal first, then call
request_ble_permissions when the user is ready.
Trait Implementations§
Source§impl Clone for BlewPluginConfig
impl Clone for BlewPluginConfig
Source§fn clone(&self) -> BlewPluginConfig
fn clone(&self) -> BlewPluginConfig
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 BlewPluginConfig
impl Debug for BlewPluginConfig
Auto Trait Implementations§
impl Freeze for BlewPluginConfig
impl RefUnwindSafe for BlewPluginConfig
impl Send for BlewPluginConfig
impl Sync for BlewPluginConfig
impl Unpin for BlewPluginConfig
impl UnsafeUnpin for BlewPluginConfig
impl UnwindSafe for BlewPluginConfig
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