[][src]Struct creator_tools::types::SafariStyleSheet

pub struct SafariStyleSheet {
    pub allowed_url_patterns: Option<Vec<String>>,
    pub excluded_url_patterns: Option<Vec<String>>,
    pub style_sheet: Option<String>,
}

Safari Style Sheet.

Fields

allowed_url_patterns: Option<Vec<String>>

The webpages that the script can be injected into.

excluded_url_patterns: Option<Vec<String>>

The webpages that the script can't be injected into.

style_sheet: Option<String>

The path to the style sheet, relative to the Resources folder in the app extension's bundle.

Trait Implementations

impl Clone for SafariStyleSheet[src]

impl Debug for SafariStyleSheet[src]

impl Default for SafariStyleSheet[src]

impl<'de> Deserialize<'de> for SafariStyleSheet[src]

impl PartialEq<SafariStyleSheet> for SafariStyleSheet[src]

impl Serialize for SafariStyleSheet[src]

impl StructuralPartialEq for SafariStyleSheet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.