Struct factorio_blueprint::objects::BlueprintBook [−][src]
pub struct BlueprintBook {
pub item: String,
pub label: Option<String>,
pub label_color: Option<Color>,
pub blueprints: Vec<BlueprintBookBlueprintValue>,
pub active_index: usize,
pub version: u64,
}
Expand description
https://wiki.factorio.com/Blueprint_string_format#Blueprint_book_object
Fields
item: String
label: Option<String>
label_color: Option<Color>
blueprints: Vec<BlueprintBookBlueprintValue>
active_index: usize
version: u64
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BlueprintBook
impl Send for BlueprintBook
impl Sync for BlueprintBook
impl Unpin for BlueprintBook
impl UnwindSafe for BlueprintBook
Blanket Implementations
Mutably borrows from an owned value. Read more