pub enum TalonResponseData {
Search(SearchResponse),
Ask(AskResponse),
Read(ReadResponse),
Sync(SyncResponse),
Status(StatusResponse),
Related(RelatedResponse),
Meta(MetaResponse),
Changes(ChangesResponse),
Inspect(InspectResponse),
Recall(RecallResponse),
}Expand description
Action-discriminated response payload, serialized inside TalonEnvelope.data.
When serialized, produces { action: "<action>", ...fields } — the action
discriminator is redundant with the envelope’s top-level action but kept
for forward-compatibility with MCP tool call results.
Variants§
Search(SearchResponse)
Search response.
Ask(AskResponse)
Vault-grounded natural-language answer response.
Read(ReadResponse)
Read response.
Sync(SyncResponse)
Sync response.
Status(StatusResponse)
Status response.
Related(RelatedResponse)
Related-note response.
Meta(MetaResponse)
Frontmatter query response.
Changes(ChangesResponse)
Change feed response.
Inspect(InspectResponse)
Inspect check response.
Recall(RecallResponse)
Vault-native context recall response.
Implementations§
Source§impl TalonResponseData
impl TalonResponseData
Sourcepub const fn as_search(&self) -> Option<&SearchResponse>
pub const fn as_search(&self) -> Option<&SearchResponse>
Returns a reference to the inner SearchResponse, if present.
Sourcepub const fn as_ask(&self) -> Option<&AskResponse>
pub const fn as_ask(&self) -> Option<&AskResponse>
Returns a reference to the inner AskResponse, if present.
Sourcepub const fn as_sync(&self) -> Option<&SyncResponse>
pub const fn as_sync(&self) -> Option<&SyncResponse>
Returns a reference to the inner SyncResponse, if present.
Sourcepub const fn as_status(&self) -> Option<&StatusResponse>
pub const fn as_status(&self) -> Option<&StatusResponse>
Returns a reference to the inner StatusResponse, if present.
Returns a reference to the inner RelatedResponse, if present.
Sourcepub const fn as_meta(&self) -> Option<&MetaResponse>
pub const fn as_meta(&self) -> Option<&MetaResponse>
Returns a reference to the inner MetaResponse, if present.
Sourcepub const fn as_changes(&self) -> Option<&ChangesResponse>
pub const fn as_changes(&self) -> Option<&ChangesResponse>
Returns a reference to the inner ChangesResponse, if present.
Sourcepub const fn as_inspect(&self) -> Option<&InspectResponse>
pub const fn as_inspect(&self) -> Option<&InspectResponse>
Returns a reference to the inner InspectResponse, if present.
Sourcepub const fn as_read(&self) -> Option<&ReadResponse>
pub const fn as_read(&self) -> Option<&ReadResponse>
Returns a reference to the inner ReadResponse, if present.
Trait Implementations§
Source§impl Clone for TalonResponseData
impl Clone for TalonResponseData
Source§fn clone(&self) -> TalonResponseData
fn clone(&self) -> TalonResponseData
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 TalonResponseData
impl Debug for TalonResponseData
Source§impl<'de> Deserialize<'de> for TalonResponseData
impl<'de> Deserialize<'de> for TalonResponseData
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 TalonResponseData
impl PartialEq for TalonResponseData
Source§fn eq(&self, other: &TalonResponseData) -> bool
fn eq(&self, other: &TalonResponseData) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for TalonResponseData
impl Serialize for TalonResponseData
impl StructuralPartialEq for TalonResponseData
Auto Trait Implementations§
impl Freeze for TalonResponseData
impl RefUnwindSafe for TalonResponseData
impl Send for TalonResponseData
impl Sync for TalonResponseData
impl Unpin for TalonResponseData
impl UnsafeUnpin for TalonResponseData
impl UnwindSafe for TalonResponseData
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<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