pub struct ClassDef {
pub name: String,
pub doc: String,
pub fields: Vec<FieldDef>,
}Expand description
A BAML class (a structured input or output schema).
Fields§
§name: String§doc: String§fields: Vec<FieldDef>Trait Implementations§
Auto Trait Implementations§
impl Forget for ClassDef
impl Freeze for ClassDef
impl Move for ClassDef
impl RefUnwindSafe for ClassDef
impl Send for ClassDef
impl Sync for ClassDef
impl Unpin for ClassDef
impl UnsafeUnpin for ClassDef
impl UnwindSafe for ClassDef
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