pub struct PineconeConfig {
pub api_key: String,
pub host: String,
pub namespace: Option<String>,
}Expand description
Configuration for connecting to a Pinecone index.
Fields§
§api_key: StringPinecone API key.
host: StringThe index host URL (e.g. https://my-index-abc123.svc.pinecone.io).
namespace: Option<String>Optional namespace for partitioning vectors within the index.
Implementations§
Trait Implementations§
Source§impl Clone for PineconeConfig
impl Clone for PineconeConfig
Source§fn clone(&self) -> PineconeConfig
fn clone(&self) -> PineconeConfig
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 moreAuto Trait Implementations§
impl Freeze for PineconeConfig
impl RefUnwindSafe for PineconeConfig
impl Send for PineconeConfig
impl Sync for PineconeConfig
impl Unpin for PineconeConfig
impl UnsafeUnpin for PineconeConfig
impl UnwindSafe for PineconeConfig
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