Spaces:
Paused
Paused
Download api/src/entity/api_key.rs from stremio-db/a: direct link, hf CLI and curl.
- Browser
- Download file 509 Bytes
-
https://huggingface.co/spaces/stremio-db/a/resolve/main/api/src/entity/api_key.rs
- Command line
-
hf download hf://spaces/stremio-db/a/api/src/entity/api_key.rs
-
curl -L -o api_key.rs https://huggingface.co/spaces/stremio-db/a/resolve/main/api/src/entity/api_key.rs
509 Bytes
| use sea_orm::entity::prelude::*; | |
| pub struct Model { | |
| pub id: i32, | |
| pub name: String, | |
| pub key_hash: String, | |
| pub key_prefix: String, | |
| pub created_by: i32, | |
| pub created_at: String, | |
| pub last_used_at: Option<String>, | |
| } | |
| pub enum Relation {} | |
| impl ActiveModelBehavior for ActiveModel {} | |