pub struct RepeatingGroup { /* private fields */ }Expand description
Represents a FIX repeating group, such as a party in the list of parties.
Implementations§
Source§impl RepeatingGroup
impl RepeatingGroup
Sourcepub fn new(
start_tag: &HardCodedFixFieldDefinition,
delimiter_tag: &HardCodedFixFieldDefinition,
) -> Self
pub fn new( start_tag: &HardCodedFixFieldDefinition, delimiter_tag: &HardCodedFixFieldDefinition, ) -> Self
Creates a new empty repeating group.
pub fn get_fields(&self) -> &FieldMap
Trait Implementations§
Source§impl Clone for RepeatingGroup
impl Clone for RepeatingGroup
Source§fn clone(&self) -> RepeatingGroup
fn clone(&self) -> RepeatingGroup
Returns a duplicate of the value. Read more
1.0.0 · 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 RepeatingGroup
impl Debug for RepeatingGroup
Source§impl Part for RepeatingGroup
impl Part for RepeatingGroup
fn get_field_map(&self) -> &FieldMap
fn get_field_map_mut(&mut self) -> &mut FieldMap
fn set<'a, V>(
&'a mut self,
field_definition: &HardCodedFixFieldDefinition,
value: V,
)where
V: FieldType<'a>,
fn store_field(&mut self, field: Field)
fn get<'a, V>(
&'a self,
field: &HardCodedFixFieldDefinition,
) -> Result<V, FieldValueError<V::Error>>where
V: FieldType<'a>,
fn get_raw(&self, field: &HardCodedFixFieldDefinition) -> Option<&[u8]>
fn pop(&mut self, field: &HardCodedFixFieldDefinition) -> Option<Field>
fn set_groups( &mut self, groups: Vec<RepeatingGroup>, ) -> Result<(), SetGroupsError>
fn get_group(&self, start_tag: TagU32, index: usize) -> Option<&RepeatingGroup>
fn calculate_length(&self) -> usize
Auto Trait Implementations§
impl Freeze for RepeatingGroup
impl RefUnwindSafe for RepeatingGroup
impl Send for RepeatingGroup
impl Sync for RepeatingGroup
impl Unpin for RepeatingGroup
impl UnwindSafe for RepeatingGroup
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