struct FieldCtx {
name: String,
ts_type: String,
optional: bool,
primary: bool,
auto: bool,
}Expand description
Per-field data passed into Tera templates.
Fields§
§name: String§ts_type: String§optional: bool§primary: bool§auto: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for FieldCtx
impl RefUnwindSafe for FieldCtx
impl Send for FieldCtx
impl Sync for FieldCtx
impl Unpin for FieldCtx
impl UnwindSafe for FieldCtx
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