#[non_exhaustive]pub struct DistGraphAttachment {
pub kind: DistGraphAttachmentKind,
pub id: String,
}Expand description
An element connected to a bus terminal.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: DistGraphAttachmentKind§id: StringTrait Implementations§
Source§impl Clone for DistGraphAttachment
impl Clone for DistGraphAttachment
Source§fn clone(&self) -> DistGraphAttachment
fn clone(&self) -> DistGraphAttachment
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 DistGraphAttachment
impl Debug for DistGraphAttachment
Source§impl<'de> Deserialize<'de> for DistGraphAttachment
impl<'de> Deserialize<'de> for DistGraphAttachment
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
impl Eq for DistGraphAttachment
Source§impl PartialEq for DistGraphAttachment
impl PartialEq for DistGraphAttachment
Source§impl Serialize for DistGraphAttachment
impl Serialize for DistGraphAttachment
impl StructuralPartialEq for DistGraphAttachment
Auto Trait Implementations§
impl Freeze for DistGraphAttachment
impl RefUnwindSafe for DistGraphAttachment
impl Send for DistGraphAttachment
impl Sync for DistGraphAttachment
impl Unpin for DistGraphAttachment
impl UnsafeUnpin for DistGraphAttachment
impl UnwindSafe for DistGraphAttachment
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