struct RelationCtx {
name: String,
kind: String,
target_pascal: String,
foreign_key: Option<String>,
}Expand description
Per-relation data passed into Tera templates.
Fields§
§name: String§kind: String§target_pascal: String§foreign_key: Option<String>Trait Implementations§
Source§impl Debug for RelationCtx
impl Debug for RelationCtx
Auto Trait Implementations§
impl Freeze for RelationCtx
impl RefUnwindSafe for RelationCtx
impl Send for RelationCtx
impl Sync for RelationCtx
impl Unpin for RelationCtx
impl UnwindSafe for RelationCtx
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