13 lines
171 B
Rust
13 lines
171 B
Rust
use uuid::Uuid;
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub struct ImSession {
|
|
pub user: Uuid,
|
|
}
|
|
|
|
impl ImSession {
|
|
pub fn new(user: Uuid) -> Self {
|
|
Self { user }
|
|
}
|
|
}
|