mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 06:05:24 +00:00
Document and expose public members for Rojo API
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
use uuid::Uuid;
|
||||
|
||||
/// A randomly generated ID generated by Rojo during a serve session.
|
||||
///
|
||||
/// If the session ID of the server changes between requests, that indicates
|
||||
/// that a new server has started up and the session should be terminated.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||
pub struct SessionId(Uuid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user