Enum tauri_utils::config::CapabilityEntry
source · pub enum CapabilityEntry {
Inlined(Capability),
Reference(String),
}
Expand description
A capability entry which can be either an inlined capability or a reference to a capability defined on its own file.
Variants§
Trait Implementations§
source§impl Clone for CapabilityEntry
impl Clone for CapabilityEntry
source§fn clone(&self) -> CapabilityEntry
fn clone(&self) -> CapabilityEntry
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 CapabilityEntry
impl Debug for CapabilityEntry
source§impl<'de> Deserialize<'de> for CapabilityEntry
impl<'de> Deserialize<'de> for CapabilityEntry
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 CapabilityEntry
impl PartialEq for CapabilityEntry
source§fn eq(&self, other: &CapabilityEntry) -> bool
fn eq(&self, other: &CapabilityEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CapabilityEntry
impl Serialize for CapabilityEntry
impl StructuralPartialEq for CapabilityEntry
Auto Trait Implementations§
impl Freeze for CapabilityEntry
impl RefUnwindSafe for CapabilityEntry
impl Send for CapabilityEntry
impl Sync for CapabilityEntry
impl Unpin for CapabilityEntry
impl UnwindSafe for CapabilityEntry
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