pub struct MemberNode {
pub node_id: NodeId,
pub name: String,
pub type_: Ref<TypeNode>,
pub parent: AnyId,
pub facets: Facets,
}Expand description
A field of an aggregate.
Covers struct members, valuetype state members, union case members and exception members. Spec §3.3.
Fields§
§node_id: NodeIdStable identity.
name: StringSimple name.
type_: Ref<TypeNode>Declared type.
parent: AnyIdThe aggregate this member belongs to.
facets: FacetsPer-source information, including the XTypes member id. Spec §4.
Trait Implementations§
Source§impl Clone for MemberNode
impl Clone for MemberNode
Source§impl Debug for MemberNode
impl Debug for MemberNode
impl Eq for MemberNode
Source§impl PartialEq for MemberNode
impl PartialEq for MemberNode
impl StructuralPartialEq for MemberNode
Auto Trait Implementations§
impl Freeze for MemberNode
impl RefUnwindSafe for MemberNode
impl Send for MemberNode
impl Sync for MemberNode
impl Unpin for MemberNode
impl UnsafeUnpin for MemberNode
impl UnwindSafe for MemberNode
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