pub enum Role {
Multimodal,
UnstructuredText,
UnstructuredBinary,
Other(String),
}Expand description
Open registry; unknown roles fall back to structural handling.
Variants§
Multimodal
list<variant<…>> whose elements are interchangeable modalities.
UnstructuredText
variant { inline: text, url: url } ergonomic unstructured-text wrapper.
UnstructuredBinary
variant { inline: binary, url: url } ergonomic unstructured-binary wrapper.
Other(String)
Any other producer-defined role, preserved verbatim.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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