Struct ashpd::desktop::open_uri::OpenDirectoryRequest
source · pub struct OpenDirectoryRequest { /* private fields */ }
Expand description
A builder-pattern type to open a directory.
Implementations§
source§impl OpenDirectoryRequest
impl OpenDirectoryRequest
sourcepub fn identifier(self, identifier: impl Into<Option<WindowIdentifier>>) -> Self
pub fn identifier(self, identifier: impl Into<Option<WindowIdentifier>>) -> Self
Sets a window identifier.
sourcepub fn activation_token(
self,
activation_token: impl Into<Option<ActivationToken>>,
) -> Self
pub fn activation_token( self, activation_token: impl Into<Option<ActivationToken>>, ) -> Self
Sets the token that can be used to activate the chosen application.
Trait Implementations§
source§impl Debug for OpenDirectoryRequest
impl Debug for OpenDirectoryRequest
source§impl Default for OpenDirectoryRequest
impl Default for OpenDirectoryRequest
source§fn default() -> OpenDirectoryRequest
fn default() -> OpenDirectoryRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OpenDirectoryRequest
impl RefUnwindSafe for OpenDirectoryRequest
impl Send for OpenDirectoryRequest
impl Sync for OpenDirectoryRequest
impl Unpin for OpenDirectoryRequest
impl UnwindSafe for OpenDirectoryRequest
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.