pub struct Custom {
pub name: String,
pub command: String,
pub args: Vec<String>,
}Fields§
§name: StringA human-readable name/short identifier
command: StringThe main command to execute
args: Vec<String>Additional arguments to provide
Trait Implementations§
source§impl<'de> Deserialize<'de> for Custom
impl<'de> Deserialize<'de> for Custom
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
source§impl IsProvider for Custom
impl IsProvider for Custom
source§fn search_internal<'life0, 'life1, 'async_trait>(
&'life0 self,
command: &'life1 str,
target_env: Arc<Environment>
) -> Pin<Box<dyn Future<Output = Result<Vec<Candidate>, ProviderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn search_internal<'life0, 'life1, 'async_trait>( &'life0 self, command: &'life1 str, target_env: Arc<Environment> ) -> Pin<Box<dyn Future<Output = Result<Vec<Candidate>, ProviderError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Search for a command with this provider in
env.source§impl PartialEq<Custom> for Custom
impl PartialEq<Custom> for Custom
impl StructuralPartialEq for Custom
Auto Trait Implementations§
impl RefUnwindSafe for Custom
impl Send for Custom
impl Sync for Custom
impl Unpin for Custom
impl UnwindSafe for Custom
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