-
-
Save stephanbuys/53f4b65c1c9f100dd3fb65b88279532e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(Associations)] | |
#[belongs_to(User)] | |
struct ActiveUsers { | |
id: i32, | |
user_id: i32, | |
last_active: NaiveDateTime | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment