Struct tauri_utils::config::AssetProtocolConfig  
source · pub struct AssetProtocolConfig {
    pub scope: FsScope,
    pub enable: bool,
}Expand description
Config for the asset custom protocol.
See more: https://tauri.app/v1/api/config#assetprotocolconfig
Fields§
§scope: FsScopeThe access scope for the asset protocol.
enable: boolEnables the asset protocol.
Trait Implementations§
source§impl Clone for AssetProtocolConfig
 
impl Clone for AssetProtocolConfig
source§fn clone(&self) -> AssetProtocolConfig
 
fn clone(&self) -> AssetProtocolConfig
Returns a copy 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 AssetProtocolConfig
 
impl Debug for AssetProtocolConfig
source§impl Default for AssetProtocolConfig
 
impl Default for AssetProtocolConfig
source§fn default() -> AssetProtocolConfig
 
fn default() -> AssetProtocolConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AssetProtocolConfig
 
impl<'de> Deserialize<'de> for AssetProtocolConfig
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
source§impl PartialEq for AssetProtocolConfig
 
impl PartialEq for AssetProtocolConfig
source§fn eq(&self, other: &AssetProtocolConfig) -> bool
 
fn eq(&self, other: &AssetProtocolConfig) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for AssetProtocolConfig
 
impl Serialize for AssetProtocolConfig
impl Eq for AssetProtocolConfig
impl StructuralPartialEq for AssetProtocolConfig
Auto Trait Implementations§
impl RefUnwindSafe for AssetProtocolConfig
impl Send for AssetProtocolConfig
impl Sync for AssetProtocolConfig
impl Unpin for AssetProtocolConfig
impl UnwindSafe for AssetProtocolConfig
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
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.