pub struct WireHarnessBundle {
pub segment_id: String,
pub solid_name: String,
pub wire_count: usize,
pub diameter: f64,
pub length: f64,
pub connection_ids: Vec<String>,
pub error: String,
}Expand description
One segment’s bundle.
Fields§
§segment_id: String§solid_name: StringThe registered solid’s name (empty when bundles are off or the build failed).
wire_count: usize§diameter: f64§length: f64§connection_ids: Vec<String>§error: StringThe build failure, if the solid could not be swept.
Trait Implementations§
Source§impl Clone for WireHarnessBundle
impl Clone for WireHarnessBundle
Source§fn clone(&self) -> WireHarnessBundle
fn clone(&self) -> WireHarnessBundle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WireHarnessBundle
impl Debug for WireHarnessBundle
Source§impl<'de> Deserialize<'de> for WireHarnessBundle
impl<'de> Deserialize<'de> for WireHarnessBundle
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 WireHarnessBundle
impl PartialEq for WireHarnessBundle
Source§impl Serialize for WireHarnessBundle
impl Serialize for WireHarnessBundle
impl StructuralPartialEq for WireHarnessBundle
Auto Trait Implementations§
impl Freeze for WireHarnessBundle
impl RefUnwindSafe for WireHarnessBundle
impl Send for WireHarnessBundle
impl Sync for WireHarnessBundle
impl Unpin for WireHarnessBundle
impl UnsafeUnpin for WireHarnessBundle
impl UnwindSafe for WireHarnessBundle
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