pub struct SearchCodeInput {Show 14 fields
pub query: String,
pub mode: SearchMode,
pub path: Option<String>,
pub include: Vec<String>,
pub exclude: Vec<String>,
pub types: Vec<String>,
pub type_not: Vec<String>,
pub case_mode: SearchCase,
pub word: bool,
pub whole_line: bool,
pub hidden: bool,
pub respect_ignore: bool,
pub follow: bool,
pub limit: Option<usize>,
}Fields§
§query: String§mode: SearchMode§path: Option<String>§include: Vec<String>§exclude: Vec<String>§types: Vec<String>§type_not: Vec<String>§case_mode: SearchCase§word: bool§whole_line: bool§respect_ignore: bool§follow: bool§limit: Option<usize>Trait Implementations§
Source§impl Clone for SearchCodeInput
impl Clone for SearchCodeInput
Source§fn clone(&self) -> SearchCodeInput
fn clone(&self) -> SearchCodeInput
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 SearchCodeInput
impl Debug for SearchCodeInput
Source§impl Default for SearchCodeInput
impl Default for SearchCodeInput
Source§impl<'de> Deserialize<'de> for SearchCodeInput
impl<'de> Deserialize<'de> for SearchCodeInput
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 JsonSchema for SearchCodeInput
impl JsonSchema for SearchCodeInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for SearchCodeInput
impl RefUnwindSafe for SearchCodeInput
impl Send for SearchCodeInput
impl Sync for SearchCodeInput
impl Unpin for SearchCodeInput
impl UnsafeUnpin for SearchCodeInput
impl UnwindSafe for SearchCodeInput
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