pub struct ContentScriptEntry {
pub matches: Vec<String>,
pub js: Vec<String>,
pub css: Vec<String>,
pub run_at: Option<String>,
pub all_frames: Option<bool>,
pub match_about_blank: Option<bool>,
}Expand description
Content script entry.
Fields§
§matches: Vec<String>§js: Vec<String>§css: Vec<String>§run_at: Option<String>§all_frames: Option<bool>§match_about_blank: Option<bool>Trait Implementations§
Source§impl Clone for ContentScriptEntry
impl Clone for ContentScriptEntry
Source§fn clone(&self) -> ContentScriptEntry
fn clone(&self) -> ContentScriptEntry
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 ContentScriptEntry
impl Debug for ContentScriptEntry
Source§impl<'de> Deserialize<'de> for ContentScriptEntry
impl<'de> Deserialize<'de> for ContentScriptEntry
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
Auto Trait Implementations§
impl Freeze for ContentScriptEntry
impl RefUnwindSafe for ContentScriptEntry
impl Send for ContentScriptEntry
impl Sync for ContentScriptEntry
impl Unpin for ContentScriptEntry
impl UnsafeUnpin for ContentScriptEntry
impl UnwindSafe for ContentScriptEntry
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