pub struct BamlField {
pub name: String,
pub ty: BamlType,
pub description: Option<String>,
pub fixed_value: Option<String>,
}Expand description
A field within a BAML class.
Fields§
§name: String§ty: BamlType§description: Option<String>§fixed_value: Option<String>Fixed string value (e.g. task "analysis_operation").
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BamlField
impl RefUnwindSafe for BamlField
impl Send for BamlField
impl Sync for BamlField
impl Unpin for BamlField
impl UnsafeUnpin for BamlField
impl UnwindSafe for BamlField
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