mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 13:21:38 +00:00
Skip serializing place_id and game_id if null
This commit is contained in:
parent
df1aced95d
commit
5c80cd6e50
1 changed files with 2 additions and 0 deletions
|
|
@ -59,10 +59,12 @@ pub struct Project {
|
||||||
|
|
||||||
/// If specified, sets the current place's place ID when connecting to the
|
/// If specified, sets the current place's place ID when connecting to the
|
||||||
/// Rojo server from Roblox Studio.
|
/// Rojo server from Roblox Studio.
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub place_id: Option<u64>,
|
pub place_id: Option<u64>,
|
||||||
|
|
||||||
/// If specified, sets the current place's game ID when connecting to the
|
/// If specified, sets the current place's game ID when connecting to the
|
||||||
/// Rojo server from Roblox Studio.
|
/// Rojo server from Roblox Studio.
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub game_id: Option<u64>,
|
pub game_id: Option<u64>,
|
||||||
|
|
||||||
/// A list of globs, relative to the folder the project file is in, that
|
/// A list of globs, relative to the folder the project file is in, that
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue