pub struct LashlangToolBinding {
pub module_path: Vec<String>,
pub operation: Option<String>,
pub authority_type: Option<String>,
pub aliases: Vec<String>,
}Fields§
§module_path: Vec<String>§operation: Option<String>§aliases: Vec<String>Implementations§
Source§impl LashlangToolBinding
impl LashlangToolBinding
pub fn new( module_path: impl IntoIterator<Item = impl Into<String>>, operation: impl Into<String>, ) -> Self
pub fn with_aliases( self, aliases: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn executable_for(&self, tool_name: &str) -> ResolvedLashlangToolBinding
pub fn required_for_remote( manifest: &ToolManifest, ) -> Result<ResolvedLashlangToolBinding, String>
pub fn required_executable_for_remote( &self, tool_name: &str, ) -> Result<ResolvedLashlangToolBinding, String>
Trait Implementations§
Source§impl Clone for LashlangToolBinding
impl Clone for LashlangToolBinding
Source§fn clone(&self) -> LashlangToolBinding
fn clone(&self) -> LashlangToolBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LashlangToolBinding
impl Debug for LashlangToolBinding
Source§impl Default for LashlangToolBinding
impl Default for LashlangToolBinding
Source§fn default() -> LashlangToolBinding
fn default() -> LashlangToolBinding
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LashlangToolBinding
impl<'de> Deserialize<'de> for LashlangToolBinding
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 Eq for LashlangToolBinding
Source§impl PartialEq for LashlangToolBinding
impl PartialEq for LashlangToolBinding
Source§fn eq(&self, other: &LashlangToolBinding) -> bool
fn eq(&self, other: &LashlangToolBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LashlangToolBinding
impl Serialize for LashlangToolBinding
impl StructuralPartialEq for LashlangToolBinding
Auto Trait Implementations§
impl Freeze for LashlangToolBinding
impl RefUnwindSafe for LashlangToolBinding
impl Send for LashlangToolBinding
impl Sync for LashlangToolBinding
impl Unpin for LashlangToolBinding
impl UnsafeUnpin for LashlangToolBinding
impl UnwindSafe for LashlangToolBinding
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