pub struct ConnectionData {
pub entity_id: EntityNumber,
pub circuit_id: Option<i32>,
}
Expand description
https://wiki.factorio.com/Blueprint_string_format#Connection_data_object
Fields§
§entity_id: EntityNumber
§circuit_id: Option<i32>
Trait Implementations§
Source§impl Clone for ConnectionData
impl Clone for ConnectionData
Source§fn clone(&self) -> ConnectionData
fn clone(&self) -> ConnectionData
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 ConnectionData
impl Debug for ConnectionData
Source§impl<'de> Deserialize<'de> for ConnectionData
impl<'de> Deserialize<'de> for ConnectionData
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 PartialEq for ConnectionData
impl PartialEq for ConnectionData
Source§impl Serialize for ConnectionData
impl Serialize for ConnectionData
impl Eq for ConnectionData
impl StructuralPartialEq for ConnectionData
Auto Trait Implementations§
impl Freeze for ConnectionData
impl RefUnwindSafe for ConnectionData
impl Send for ConnectionData
impl Sync for ConnectionData
impl Unpin for ConnectionData
impl UnwindSafe for ConnectionData
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