Struct tauri_utils::config::FsAllowlistScope
source · [−]Expand description
Filesystem scope definition. It is a list of glob patterns that restrict the API access from the webview.
Each pattern can start with a variable that resolves to a system base directory.
The variables are: $AUDIO, $CACHE, $CONFIG, $DATA, $LOCALDATA, $DESKTOP,
$DOCUMENT, $DOWNLOAD, $EXE, $FONT, $HOME, $PICTURE, $PUBLIC, $RUNTIME,
$TEMPLATE, $VIDEO, $RESOURCE, $APP.
Tuple Fields
0: Vec<PathBuf>Trait Implementations
sourceimpl Clone for FsAllowlistScope
impl Clone for FsAllowlistScope
sourcefn clone(&self) -> FsAllowlistScope
fn clone(&self) -> FsAllowlistScope
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FsAllowlistScope
impl Debug for FsAllowlistScope
sourceimpl Default for FsAllowlistScope
impl Default for FsAllowlistScope
sourcefn default() -> FsAllowlistScope
fn default() -> FsAllowlistScope
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FsAllowlistScope
impl<'de> Deserialize<'de> for FsAllowlistScope
sourcefn 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
sourceimpl PartialEq<FsAllowlistScope> for FsAllowlistScope
impl PartialEq<FsAllowlistScope> for FsAllowlistScope
sourcefn eq(&self, other: &FsAllowlistScope) -> bool
fn eq(&self, other: &FsAllowlistScope) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &FsAllowlistScope) -> bool
fn ne(&self, other: &FsAllowlistScope) -> bool
This method tests for !=.
sourceimpl Serialize for FsAllowlistScope
impl Serialize for FsAllowlistScope
impl StructuralPartialEq for FsAllowlistScope
Auto Trait Implementations
impl RefUnwindSafe for FsAllowlistScope
impl Send for FsAllowlistScope
impl Sync for FsAllowlistScope
impl Unpin for FsAllowlistScope
impl UnwindSafe for FsAllowlistScope
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more