pub struct AssistantDescriptor {
pub workflow_type: String,
pub content_hash: String,
pub document_filename: &'static str,
pub document_bytes: usize,
pub input_schema: Value,
pub signals: Vec<AssistantSignal>,
pub queries: Vec<String>,
pub session: AssistantSessionContract,
pub residency: AssistantResidency,
}Expand description
The served description of the built-in assistant.
Fields§
§workflow_type: StringThe workflow type an operator starts.
content_hash: StringThe embedded document’s content hash — its version identity.
document_filename: &'static strThe document’s filename inside the binary.
document_bytes: usizeLength of the embedded document in bytes, so a client can tell a
truncated fetch of /assistant/document from a complete one.
input_schema: ValueStart input schema, draft 2020-12, derived from the document.
signals: Vec<AssistantSignal>Every declared signal with its payload schema.
queries: Vec<String>Every declared query name, in document order.
session: AssistantSessionContractThe verified session contract.
residency: AssistantResidencyWhere the embedded version stands in the catalog right now.
Trait Implementations§
Source§impl Clone for AssistantDescriptor
impl Clone for AssistantDescriptor
Source§fn clone(&self) -> AssistantDescriptor
fn clone(&self) -> AssistantDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssistantDescriptor
impl Debug for AssistantDescriptor
impl Eq for AssistantDescriptor
Source§impl PartialEq for AssistantDescriptor
impl PartialEq for AssistantDescriptor
Source§impl Serialize for AssistantDescriptor
impl Serialize for AssistantDescriptor
impl StructuralPartialEq for AssistantDescriptor
Auto Trait Implementations§
impl Freeze for AssistantDescriptor
impl RefUnwindSafe for AssistantDescriptor
impl Send for AssistantDescriptor
impl Sync for AssistantDescriptor
impl Unpin for AssistantDescriptor
impl UnsafeUnpin for AssistantDescriptor
impl UnwindSafe for AssistantDescriptor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<M> EmbeddedConversationMessage for Mwhere
M: Serialize,
impl<M> EmbeddedConversationMessage for Mwhere
M: Serialize,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request