pub struct WireHarnessConnection {
pub id: String,
pub name: String,
pub from: String,
pub to: String,
pub diameter: f64,
}Expand description
One wire: its id, display name, endpoint PORT ids and diameter.
Fields§
§id: String§name: String§from: String§to: String§diameter: f64Trait Implementations§
Source§impl Clone for WireHarnessConnection
impl Clone for WireHarnessConnection
Source§fn clone(&self) -> WireHarnessConnection
fn clone(&self) -> WireHarnessConnection
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 WireHarnessConnection
impl Debug for WireHarnessConnection
Source§impl<'de> Deserialize<'de> for WireHarnessConnection
impl<'de> Deserialize<'de> for WireHarnessConnection
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 WireHarnessConnection
impl PartialEq for WireHarnessConnection
Source§impl Serialize for WireHarnessConnection
impl Serialize for WireHarnessConnection
impl StructuralPartialEq for WireHarnessConnection
Auto Trait Implementations§
impl Freeze for WireHarnessConnection
impl RefUnwindSafe for WireHarnessConnection
impl Send for WireHarnessConnection
impl Sync for WireHarnessConnection
impl Unpin for WireHarnessConnection
impl UnsafeUnpin for WireHarnessConnection
impl UnwindSafe for WireHarnessConnection
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