pub struct ConnectorConfig {
pub name: String,
pub url: String,
pub username: String,
pub password: String,
pub id_prefix: Option<String>,
}Expand description
Configuration for a remote Haystack server connection.
Fields§
§name: StringDisplay name for this connector.
url: StringBase URL of the remote Haystack API (e.g. “http://remote:8080/api”).
username: StringUsername for SCRAM authentication.
password: StringPassword for SCRAM authentication.
id_prefix: Option<String>Optional tag prefix to namespace remote entity IDs (e.g. “remote1-”).
Trait Implementations§
Source§impl Clone for ConnectorConfig
impl Clone for ConnectorConfig
Source§fn clone(&self) -> ConnectorConfig
fn clone(&self) -> ConnectorConfig
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 ConnectorConfig
impl Debug for ConnectorConfig
Source§impl<'de> Deserialize<'de> for ConnectorConfig
impl<'de> Deserialize<'de> for ConnectorConfig
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 ConnectorConfig
impl RefUnwindSafe for ConnectorConfig
impl Send for ConnectorConfig
impl Sync for ConnectorConfig
impl Unpin for ConnectorConfig
impl UnsafeUnpin for ConnectorConfig
impl UnwindSafe for ConnectorConfig
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