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§
Source§impl Clone for BlueprintBook
impl Clone for BlueprintBook
Source§fn clone(&self) -> BlueprintBook
fn clone(&self) -> BlueprintBook
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BlueprintBook
impl Debug for BlueprintBook
Source§impl Default for BlueprintBook
impl Default for BlueprintBook
Source§fn default() -> BlueprintBook
fn default() -> BlueprintBook
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlueprintBookwhere
BlueprintBook: Default,
impl<'de> Deserialize<'de> for BlueprintBookwhere
BlueprintBook: Default,
Source§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
Source§impl From<BlueprintBook> for Container
impl From<BlueprintBook> for Container
Source§fn from(b: BlueprintBook) -> Container
fn from(b: BlueprintBook) -> Container
Converts to this type from the input type.
Source§impl PartialEq for BlueprintBook
impl PartialEq for BlueprintBook
Source§impl Serialize for BlueprintBook
impl Serialize for BlueprintBook
impl Eq for BlueprintBook
impl StructuralPartialEq for BlueprintBook
Auto Trait Implementations§
impl Freeze for BlueprintBook
impl RefUnwindSafe for BlueprintBook
impl Send for BlueprintBook
impl Sync for BlueprintBook
impl Unpin for BlueprintBook
impl UnwindSafe for BlueprintBook
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more