pub struct GlobInput {
pub pattern: String,
pub path: Option<String>,
}Expand description
Input for the Glob tool - finds files matching a pattern.
The deny_unknown_fields attribute ensures Glob only matches exact
Glob inputs and doesn’t accidentally match Grep inputs (which share
the pattern field but have additional Grep-specific fields).
Fields§
§pattern: StringThe glob pattern to match files against (e.g., “**/*.rs”)
path: Option<String>The directory to search in (defaults to current working directory)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GlobInput
impl<'de> Deserialize<'de> for GlobInput
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 StructuralPartialEq for GlobInput
Auto Trait Implementations§
impl Freeze for GlobInput
impl RefUnwindSafe for GlobInput
impl Send for GlobInput
impl Sync for GlobInput
impl Unpin for GlobInput
impl UnsafeUnpin for GlobInput
impl UnwindSafe for GlobInput
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