pub struct ContentScriptSpec {
pub matches: Vec<String>,
pub js: Vec<String>,
pub css: Vec<String>,
pub run_at: String,
pub all_frames: Option<bool>,
pub match_about_blank: Option<bool>,
}Expand description
Content script specification for MV3.
Fields§
§matches: Vec<String>§js: Vec<String>§css: Vec<String>§run_at: String§all_frames: Option<bool>§match_about_blank: Option<bool>Trait Implementations§
Source§impl Clone for ContentScriptSpec
impl Clone for ContentScriptSpec
Source§fn clone(&self) -> ContentScriptSpec
fn clone(&self) -> ContentScriptSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContentScriptSpec
impl Debug for ContentScriptSpec
Auto Trait Implementations§
impl Freeze for ContentScriptSpec
impl RefUnwindSafe for ContentScriptSpec
impl Send for ContentScriptSpec
impl Sync for ContentScriptSpec
impl Unpin for ContentScriptSpec
impl UnsafeUnpin for ContentScriptSpec
impl UnwindSafe for ContentScriptSpec
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