pub struct Caps {
pub web: bool,
pub files: bool,
pub reveal: bool,
pub inside: bool,
pub video: bool,
pub web_video: bool,
}Expand description
What the opener can do here.
Fields§
§web: boolWeb pages and mailto: outside (the browser, the mail client).
files: boolLocal files and folders outside (the default application, the file manager).
reveal: boolThe file manager with a file selected.
inside: boolA viewer inside the application for pages and images.
video: boolThat viewer plays local video files too (the viewer’s video page, an opt-in feature).
web_video: boolThat viewer plays YouTube links too, in a web view (the viewer’s
opt-in webview feature). Other remote video stays outside.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Caps
impl<'de> Deserialize<'de> for Caps
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
impl Copy for Caps
impl Eq for Caps
impl StructuralPartialEq for Caps
Auto Trait Implementations§
impl Freeze for Caps
impl RefUnwindSafe for Caps
impl Send for Caps
impl Sync for Caps
impl Unpin for Caps
impl UnsafeUnpin for Caps
impl UnwindSafe for Caps
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