pub struct SegmentFieldDescriptor {
pub name: &'static str,
pub element_type: &'static str,
pub element_size: usize,
}Expand description
Describes a dynamic segment in a segmented Jiminy account.
Fields§
§name: &'static strSegment name (e.g., "bids").
element_type: &'static strElement type name (e.g., "Order").
element_size: usizeSize of each element in bytes.
Trait Implementations§
Source§impl Clone for SegmentFieldDescriptor
impl Clone for SegmentFieldDescriptor
Source§fn clone(&self) -> SegmentFieldDescriptor
fn clone(&self) -> SegmentFieldDescriptor
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 SegmentFieldDescriptor
impl Debug for SegmentFieldDescriptor
Source§impl PartialEq for SegmentFieldDescriptor
impl PartialEq for SegmentFieldDescriptor
impl Copy for SegmentFieldDescriptor
impl Eq for SegmentFieldDescriptor
impl StructuralPartialEq for SegmentFieldDescriptor
Auto Trait Implementations§
impl Freeze for SegmentFieldDescriptor
impl RefUnwindSafe for SegmentFieldDescriptor
impl Send for SegmentFieldDescriptor
impl Sync for SegmentFieldDescriptor
impl Unpin for SegmentFieldDescriptor
impl UnsafeUnpin for SegmentFieldDescriptor
impl UnwindSafe for SegmentFieldDescriptor
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