pub enum MemberDefinition {
Field(Rc<Field>),
RawData {
length: Rc<Field>,
data: Rc<Field>,
},
Component(Rc<Component>),
Group(Rc<Group>),
}Expand description
The shared definition of a field, component, or group: what a member is, separate from how it is used.
One definition is referenced by many Members, each carrying the
required flag of its own usage site.
Variants§
Field(Rc<Field>)
A field member (primitive element)
RawData
A raw data member (Length + Data/XmlData pair)
In the FIX protocol, fields of type Data or XmlData must be immediately preceded by an associated Length field. This variant represents that pair as a single semantic unit, since the data may contain arbitrary bytes including the SOH delimiter.
Fields
Component(Rc<Component>)
A component member (reusable collection of fields/components/groups)
Group(Rc<Group>)
A group member (repeating section of fields/components)
Implementations§
Trait Implementations§
Source§impl Clone for MemberDefinition
impl Clone for MemberDefinition
Auto Trait Implementations§
impl !Send for MemberDefinition
impl !Sync for MemberDefinition
impl Forget for MemberDefinition
impl Freeze for MemberDefinition
impl RefUnwindSafe for MemberDefinition
impl Unpin for MemberDefinition
impl UnsafeUnpin for MemberDefinition
impl UnwindSafe for MemberDefinition
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