pub struct NotificationAllowlistConfig {
pub all: bool,
}
Expand description
Allowlist for the notification APIs.
See more: https://tauri.app/v1/api/config#notificationallowlistconfig
Fields§
§all: bool
Use this flag to enable all notification API features.
Trait Implementations§
Source§impl Allowlist for NotificationAllowlistConfig
impl Allowlist for NotificationAllowlistConfig
Source§fn all_features() -> Vec<&'static str>
fn all_features() -> Vec<&'static str>
Returns all features associated with the allowlist struct.
Source§fn to_features(&self) -> Vec<&'static str>
fn to_features(&self) -> Vec<&'static str>
Returns the tauri features enabled on this allowlist.
Source§impl Clone for NotificationAllowlistConfig
impl Clone for NotificationAllowlistConfig
Source§fn clone(&self) -> NotificationAllowlistConfig
fn clone(&self) -> NotificationAllowlistConfig
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 NotificationAllowlistConfig
impl Debug for NotificationAllowlistConfig
Source§impl Default for NotificationAllowlistConfig
impl Default for NotificationAllowlistConfig
Source§fn default() -> NotificationAllowlistConfig
fn default() -> NotificationAllowlistConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationAllowlistConfig
impl<'de> Deserialize<'de> for NotificationAllowlistConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NotificationAllowlistConfig
impl StructuralPartialEq for NotificationAllowlistConfig
Auto Trait Implementations§
impl Freeze for NotificationAllowlistConfig
impl RefUnwindSafe for NotificationAllowlistConfig
impl Send for NotificationAllowlistConfig
impl Sync for NotificationAllowlistConfig
impl Unpin for NotificationAllowlistConfig
impl UnwindSafe for NotificationAllowlistConfig
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