Struct tauri_utils::config::PathAllowlistConfig
source · pub struct PathAllowlistConfig {
pub all: bool,
}
Expand description
Allowlist for the path APIs.
Fields
all: bool
Use this flag to enable all path API features.
Trait Implementations
sourceimpl Allowlist for PathAllowlistConfig
impl Allowlist for PathAllowlistConfig
sourcefn all_features() -> Vec<&'static str>
fn all_features() -> Vec<&'static str>
Returns all features associated with the allowlist struct.
sourcefn to_features(&self) -> Vec<&'static str>
fn to_features(&self) -> Vec<&'static str>
Returns the tauri features enabled on this allowlist.
sourceimpl Clone for PathAllowlistConfig
impl Clone for PathAllowlistConfig
sourcefn clone(&self) -> PathAllowlistConfig
fn clone(&self) -> PathAllowlistConfig
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 moresourceimpl Debug for PathAllowlistConfig
impl Debug for PathAllowlistConfig
sourceimpl Default for PathAllowlistConfig
impl Default for PathAllowlistConfig
sourcefn default() -> PathAllowlistConfig
fn default() -> PathAllowlistConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PathAllowlistConfig
impl<'de> Deserialize<'de> for PathAllowlistConfig
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<PathAllowlistConfig> for PathAllowlistConfig
impl PartialEq<PathAllowlistConfig> for PathAllowlistConfig
sourcefn eq(&self, other: &PathAllowlistConfig) -> bool
fn eq(&self, other: &PathAllowlistConfig) -> bool
sourceimpl Serialize for PathAllowlistConfig
impl Serialize for PathAllowlistConfig
impl Eq for PathAllowlistConfig
impl StructuralEq for PathAllowlistConfig
impl StructuralPartialEq for PathAllowlistConfig
Auto Trait Implementations
impl RefUnwindSafe for PathAllowlistConfig
impl Send for PathAllowlistConfig
impl Sync for PathAllowlistConfig
impl Unpin for PathAllowlistConfig
impl UnwindSafe for PathAllowlistConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more