pub struct WebExtensionSection {
pub name: Option<String>,
pub popup: String,
pub service_worker: String,
pub assets: Vec<String>,
}Expand description
[web.extension] section of nativeview.toml (Manifest V3 browser extension).
Fields§
§name: Option<String>§popup: String§service_worker: String§assets: Vec<String>Trait Implementations§
Source§impl Clone for WebExtensionSection
impl Clone for WebExtensionSection
Source§impl Debug for WebExtensionSection
impl Debug for WebExtensionSection
Source§impl Default for WebExtensionSection
impl Default for WebExtensionSection
impl Eq for WebExtensionSection
Source§impl PartialEq for WebExtensionSection
impl PartialEq for WebExtensionSection
impl StructuralPartialEq for WebExtensionSection
Auto Trait Implementations§
impl Forget for WebExtensionSection
impl Freeze for WebExtensionSection
impl Move for WebExtensionSection
impl RefUnwindSafe for WebExtensionSection
impl Send for WebExtensionSectionwhere
RawVecInner: Send,
impl Sync for WebExtensionSectionwhere
RawVecInner: Sync,
impl Unpin for WebExtensionSection
impl UnsafeUnpin for WebExtensionSectionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for WebExtensionSectionwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.