pub struct CompletionMappingRules {
pub items_path: String,
pub field_mappings: HashMap<String, String>,
pub transform: Option<String>,
}Expand description
Mapping rules for completion items
Fields§
§items_path: StringJSON path to completion items array
field_mappings: HashMap<String, String>Field mappings for each completion item
transform: Option<String>Optional transformation function name
Trait Implementations§
Source§impl Clone for CompletionMappingRules
impl Clone for CompletionMappingRules
Source§fn clone(&self) -> CompletionMappingRules
fn clone(&self) -> CompletionMappingRules
Returns a duplicate of the value. Read more
1.0.0 · 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 CompletionMappingRules
impl Debug for CompletionMappingRules
Source§impl<'de> Deserialize<'de> for CompletionMappingRules
impl<'de> Deserialize<'de> for CompletionMappingRules
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
Auto Trait Implementations§
impl Freeze for CompletionMappingRules
impl RefUnwindSafe for CompletionMappingRules
impl Send for CompletionMappingRules
impl Sync for CompletionMappingRules
impl Unpin for CompletionMappingRules
impl UnwindSafe for CompletionMappingRules
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