pub struct IdentityConfig {
pub user_aliases: Vec<String>,
}Expand description
User-identity settings persisted under [identity] in solo.config.toml.
user_aliases lets a user query facts_about(subject = "alex") and have
the read path also surface rows that were extracted historically with the
canonical subject_id = "user" (or vice-versa). The forward-going
extraction pipeline (Priority 1 sub-steps 1A + 1B) prefers named entities
over "user", but historical triples written before 1A still use
"user" — read-side alias expansion bridges the two without rewriting
any data.
Default = empty — zero behaviour change for existing configs.
Fields§
§user_aliases: Vec<String>Names that should be treated as equivalent to the canonical "user"
subject when querying facts_about. Lets a user query “facts about
alex” and get rows that were historically extracted with
subject_id = "user". Case-sensitive — match the casing in the
triples table.
Trait Implementations§
Source§impl Clone for IdentityConfig
impl Clone for IdentityConfig
Source§fn clone(&self) -> IdentityConfig
fn clone(&self) -> IdentityConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IdentityConfig
impl Debug for IdentityConfig
Source§impl Default for IdentityConfig
impl Default for IdentityConfig
Source§fn default() -> IdentityConfig
fn default() -> IdentityConfig
Source§impl<'de> Deserialize<'de> for IdentityConfig
impl<'de> Deserialize<'de> for IdentityConfig
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>,
Source§impl PartialEq for IdentityConfig
impl PartialEq for IdentityConfig
Source§fn eq(&self, other: &IdentityConfig) -> bool
fn eq(&self, other: &IdentityConfig) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for IdentityConfig
impl Serialize for IdentityConfig
impl Eq for IdentityConfig
impl StructuralPartialEq for IdentityConfig
Auto Trait Implementations§
impl Freeze for IdentityConfig
impl RefUnwindSafe for IdentityConfig
impl Send for IdentityConfig
impl Sync for IdentityConfig
impl Unpin for IdentityConfig
impl UnsafeUnpin for IdentityConfig
impl UnwindSafe for IdentityConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more