pub struct ModelKey {
pub app: String,
pub name: String,
}Expand description
Stable identity of a model independently from its SQL table name.
Fields§
§app: String§name: StringTrait Implementations§
impl Eq for ModelKey
Source§impl Ord for ModelKey
impl Ord for ModelKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ModelKey
impl PartialOrd for ModelKey
impl StructuralPartialEq for ModelKey
Auto Trait Implementations§
impl Freeze for ModelKey
impl RefUnwindSafe for ModelKey
impl Send for ModelKey
impl Sync for ModelKey
impl Unpin for ModelKey
impl UnsafeUnpin for ModelKey
impl UnwindSafe for ModelKey
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