pub struct ConnectionDef {
pub annotation: Option<String>,
pub identification: Identification,
pub specializes: Option<String>,
pub specializes_span: Option<Span>,
pub body: ConnectionDefBody,
}Expand description
Connection definition: connection def Identification body (BNF ConnectionDefinition).
Fields§
§annotation: Option<String>§identification: Identification§specializes: Option<String>§specializes_span: Option<Span>§body: ConnectionDefBodyTrait Implementations§
Source§impl Clone for ConnectionDef
impl Clone for ConnectionDef
Source§fn clone(&self) -> ConnectionDef
fn clone(&self) -> ConnectionDef
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 ConnectionDef
impl Debug for ConnectionDef
Source§impl PartialEq for ConnectionDef
impl PartialEq for ConnectionDef
Source§fn eq(&self, other: &ConnectionDef) -> bool
fn eq(&self, other: &ConnectionDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConnectionDef
impl StructuralPartialEq for ConnectionDef
Auto Trait Implementations§
impl Freeze for ConnectionDef
impl RefUnwindSafe for ConnectionDef
impl Send for ConnectionDef
impl Sync for ConnectionDef
impl Unpin for ConnectionDef
impl UnsafeUnpin for ConnectionDef
impl UnwindSafe for ConnectionDef
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