[−][src]Struct brs::WriteData
Data written to save files by write_save
.
Fields
map: String
The name of the map that the save file was created on.
The user that created the save.
description: String
A short description of the save file.
save_time: DateTime<Utc>
When the save file was created.
mods: Vec<String>
The mods used by the save file. Format not yet defined.
brick_assets: Vec<String>
The name lookup table used by bricks. Example values include
"PB_DefaultBrick"
, "PB_DefaultTile"
, "B_1x_Octo_T"
, etc.
colors: Vec<Color>
The color lookup table used by bricks.
materials: Vec<String>
The material lookup table used by bricks. Common values include:
"BMC_Plastic"
"BMC_Glow"
"BMC_Metallic"
"BMC_Hologram"
brick_owners: Vec<User>
The brick owner lookup table used by bricks.
bricks: Vec<Brick>
All the bricks in the save file.
Auto Trait Implementations
impl RefUnwindSafe for WriteData
impl Send for WriteData
impl Sync for WriteData
impl Unpin for WriteData
impl UnwindSafe for WriteData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,