Struct alfred_workflow_rust_project::alfred::Alfred
source · [−]pub struct Alfred {}Implementations
sourceimpl Alfred
impl Alfred
pub fn init() -> Alfred
pub fn search(&self, query: &str)
pub fn action(&self, query: &str)
pub fn action_with_types(&self, query: &str, action_type: &str)
pub fn browse(&self, query: &str)
pub fn set_theme(&self, theme: &str)
pub fn reload(&self, workflow: &str)
pub fn trigger(&self, p1: &str, p2: &str)
pub fn set_config(&self, bundle: &str, query: &str, query2: &str)
pub fn remove_config(&self, bundle: &str, query: &str)
pub fn get_app_name(&self) -> &str
Trait Implementations
sourceimpl AlfredEnv for Alfred
impl AlfredEnv for Alfred
fn get_theme_subtext(&self) -> String
fn get_preference_path(&self) -> String
fn get_preference_hash_path(&self) -> String
fn get_theme(&self) -> String
fn get_version(&self) -> String
fn get_version_build(&self) -> String
fn get_workflow_bundle_id(&self) -> String
fn get_workflow_cache_path(&self) -> String
fn get_workflow_data_path(&self) -> String
fn get_workflow_name(&self) -> String
fn is_debug_mode(&self) -> bool
fn get_workflow_uuid(&self) -> String
fn get_workflow_version(&self) -> String
fn get_theme_background(&self) -> String
fn get_theme_selection_background(&self) -> String
sourceimpl<'de> Deserialize<'de> for Alfred
impl<'de> Deserialize<'de> for Alfred
sourcefn 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 RefUnwindSafe for Alfred
impl Send for Alfred
impl Sync for Alfred
impl Unpin for Alfred
impl UnwindSafe for Alfred
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more