pub struct UserFieldReference {
pub model: String,
pub field: String,
}Expand description
Referenced model and logical field, shared with the application’s migration configuration.
Fields§
§model: StringLogical model name, or the literal name of an application-owned table.
field: StringLogical field name, or the literal column name of an application-owned table.
Trait Implementations§
Source§impl Clone for UserFieldReference
impl Clone for UserFieldReference
Auto Trait Implementations§
impl Freeze for UserFieldReference
impl RefUnwindSafe for UserFieldReference
impl Send for UserFieldReference
impl Sync for UserFieldReference
impl Unpin for UserFieldReference
impl UnsafeUnpin for UserFieldReference
impl UnwindSafe for UserFieldReference
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