Struct sip2::spec::FixedField
source · pub struct FixedField {
pub label: &'static str,
pub length: usize,
}
Expand description
Fixed field definition with label and field length
Fields§
§label: &'static str
For documentation and debugging purposes.
This value does not appear in any messages.
length: usize
Length of the fixed field.
Fixed field values are always ASCII, this is essentially the number of characters in the fixed field.
Trait Implementations§
source§impl Debug for FixedField
impl Debug for FixedField
source§impl Display for FixedField
impl Display for FixedField
source§impl PartialEq for FixedField
impl PartialEq for FixedField
impl StructuralPartialEq for FixedField
Auto Trait Implementations§
impl Freeze for FixedField
impl RefUnwindSafe for FixedField
impl Send for FixedField
impl Sync for FixedField
impl Unpin for FixedField
impl UnwindSafe for FixedField
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