Struct apple_bundle::info_plist::app_execution::SafariStyleSheet [−][src]
pub struct SafariStyleSheet {
pub allowed_url_patterns: Option<Vec<String>>,
pub excluded_url_patterns: Option<Vec<String>>,
pub style_sheet: Option<String>,
}Expand description
Safari Style Sheet
Fields
allowed_url_patterns: Option<Vec<String>>The webpages that the script can be injected into.
Availability
- macOS 10.11.5+
Framework
- Safari Services
excluded_url_patterns: Option<Vec<String>>The webpages that the script can’t be injected into.
Availability
- macOS 10.11.5+
Framework
- Safari Services
style_sheet: Option<String>The path to the style sheet, relative to the Resources folder in the app extension’s bundle.
Availability
- macOS 10.11.5+
Framework
- Safari Services
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SafariStyleSheetimpl Send for SafariStyleSheetimpl Sync for SafariStyleSheetimpl Unpin for SafariStyleSheetimpl UnwindSafe for SafariStyleSheetBlanket Implementations
Mutably borrows from an owned value. Read more