pub struct AllowlistConfig {
Show 14 fields pub all: bool, pub fs: FsAllowlistConfig, pub window: WindowAllowlistConfig, pub shell: ShellAllowlistConfig, pub dialog: DialogAllowlistConfig, pub http: HttpAllowlistConfig, pub notification: NotificationAllowlistConfig, pub global_shortcut: GlobalShortcutAllowlistConfig, pub os: OsAllowlistConfig, pub path: PathAllowlistConfig, pub protocol: ProtocolAllowlistConfig, pub process: ProcessAllowlistConfig, pub clipboard: ClipboardAllowlistConfig, pub app: AppAllowlistConfig,
}
Expand description

Allowlist configuration.

Fields

all: bool

Use this flag to enable all API features.

fs: FsAllowlistConfig

File system API allowlist.

window: WindowAllowlistConfig

Window API allowlist.

shell: ShellAllowlistConfig

Shell API allowlist.

dialog: DialogAllowlistConfig

Dialog API allowlist.

http: HttpAllowlistConfig

HTTP API allowlist.

notification: NotificationAllowlistConfig

Notification API allowlist.

global_shortcut: GlobalShortcutAllowlistConfig

Global shortcut API allowlist.

os: OsAllowlistConfig

OS allowlist.

path: PathAllowlistConfig

Path API allowlist.

protocol: ProtocolAllowlistConfig

Custom protocol allowlist.

process: ProcessAllowlistConfig

Process API allowlist.

clipboard: ClipboardAllowlistConfig

Clipboard APIs allowlist.

app: AppAllowlistConfig

App APIs allowlist.

Trait Implementations

Returns all features associated with the allowlist struct.
Returns the tauri features enabled on this allowlist.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.