Struct llm_chain::tools::FormatPart
source · pub struct FormatPart {
pub key: String,
pub purpose: String,
}
Expand description
Represents a single parameter for a tool.
Fields§
§key: String
§purpose: String
Implementations§
Trait Implementations§
source§impl Clone for FormatPart
impl Clone for FormatPart
source§fn clone(&self) -> FormatPart
fn clone(&self) -> FormatPart
Returns a copy 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 RefUnwindSafe for FormatPart
impl Send for FormatPart
impl Sync for FormatPart
impl Unpin for FormatPart
impl UnwindSafe for FormatPart
Blanket Implementations§
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