pub enum AgentDocFormat {
Append,
Template,
}Expand description
Document format: controls document structure.
Variants§
Append
Alternating ## User / ## Assistant blocks (also known as “inline”)
Template
In-place component patching with markers
Trait Implementations§
Source§impl Clone for AgentDocFormat
impl Clone for AgentDocFormat
Source§fn clone(&self) -> AgentDocFormat
fn clone(&self) -> AgentDocFormat
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 AgentDocFormat
impl Debug for AgentDocFormat
Source§impl<'de> Deserialize<'de> for AgentDocFormat
impl<'de> Deserialize<'de> for AgentDocFormat
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
Source§impl Display for AgentDocFormat
impl Display for AgentDocFormat
Source§impl PartialEq for AgentDocFormat
impl PartialEq for AgentDocFormat
Source§impl Serialize for AgentDocFormat
impl Serialize for AgentDocFormat
Source§impl ValueEnum for AgentDocFormat
impl ValueEnum for AgentDocFormat
impl Copy for AgentDocFormat
impl Eq for AgentDocFormat
impl StructuralPartialEq for AgentDocFormat
Auto Trait Implementations§
impl Freeze for AgentDocFormat
impl RefUnwindSafe for AgentDocFormat
impl Send for AgentDocFormat
impl Sync for AgentDocFormat
impl Unpin for AgentDocFormat
impl UnsafeUnpin for AgentDocFormat
impl UnwindSafe for AgentDocFormat
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
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§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.