mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Document and expose public members for Rojo API
This commit is contained in:
parent
cf5f20bbb5
commit
d5c816f24d
4 changed files with 19 additions and 6 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue