pub struct IndexRequest {
pub name: Option<String>,
pub metadata: HashMap<String, String>,
}Expand description
Request to create a new codebase index
Fields§
§name: Option<String>Optional name for the index
metadata: HashMap<String, String>Metadata to attach to the index
Implementations§
Trait Implementations§
Source§impl Clone for IndexRequest
impl Clone for IndexRequest
Source§fn clone(&self) -> IndexRequest
fn clone(&self) -> IndexRequest
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 IndexRequest
impl Debug for IndexRequest
Source§impl Default for IndexRequest
impl Default for IndexRequest
Auto Trait Implementations§
impl Freeze for IndexRequest
impl RefUnwindSafe for IndexRequest
impl Send for IndexRequest
impl Sync for IndexRequest
impl Unpin for IndexRequest
impl UnwindSafe for IndexRequest
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