pub enum ContentAudience {
User,
Assistant,
}Expand description
The audience a content block is for.
Variants§
User
The end user reading the agent’s output.
Assistant
The agent itself, processing the block as context.
Trait Implementations§
Source§impl Clone for ContentAudience
impl Clone for ContentAudience
impl Copy for ContentAudience
Source§impl Debug for ContentAudience
impl Debug for ContentAudience
Source§impl<'de> Deserialize<'de> for ContentAudience
impl<'de> Deserialize<'de> for ContentAudience
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
impl Eq for ContentAudience
Source§impl PartialEq for ContentAudience
impl PartialEq for ContentAudience
Source§impl Serialize for ContentAudience
impl Serialize for ContentAudience
impl StructuralPartialEq for ContentAudience
Auto Trait Implementations§
impl Freeze for ContentAudience
impl RefUnwindSafe for ContentAudience
impl Send for ContentAudience
impl Sync for ContentAudience
impl Unpin for ContentAudience
impl UnsafeUnpin for ContentAudience
impl UnwindSafe for ContentAudience
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