FileHeader

Struct FileHeader 

Source
pub struct FileHeader<'a> {
Show 13 fields pub record_type: &'a str, pub priority_code: &'a str, pub immediate_destination: &'a str, pub immediate_origin: &'a str, pub file_creation_date: &'a str, pub file_creation_time: &'a str, pub file_id_modifier: &'a str, pub record_size: &'a str, pub blocking_factor: &'a str, pub format_code: &'a str, pub immediate_destination_name: &'a str, pub immediate_origin_name: &'a str, pub reference_code: &'a str,
}
Expand description

File Header Record (Record Type 1)

The file header record designates physical file characteristics and identifies the immediate destination and origin of the entries within the file.

Fields§

§record_type: &'a str

Record Type Code (always “1”)

§priority_code: &'a str

Priority Code (01-99)

§immediate_destination: &'a str

Immediate Destination (10 characters) - Routing number with leading space

§immediate_origin: &'a str

Immediate Origin (10 characters) - Company ID with leading space

§file_creation_date: &'a str

File Creation Date (YYMMDD)

§file_creation_time: &'a str

File Creation Time (HHMM)

§file_id_modifier: &'a str

File ID Modifier (A-Z, 0-9)

§record_size: &'a str

Record Size (always “094”)

§blocking_factor: &'a str

Blocking Factor (always “10”)

§format_code: &'a str

Format Code (always “1”)

§immediate_destination_name: &'a str

Immediate Destination Name (23 characters)

§immediate_origin_name: &'a str

Immediate Origin Name (23 characters)

§reference_code: &'a str

Reference Code (8 characters)

Trait Implementations§

Source§

impl<'a> Clone for FileHeader<'a>

Source§

fn clone(&self) -> FileHeader<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for FileHeader<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for FileHeader<'a>

§

impl<'a> RefUnwindSafe for FileHeader<'a>

§

impl<'a> Send for FileHeader<'a>

§

impl<'a> Sync for FileHeader<'a>

§

impl<'a> Unpin for FileHeader<'a>

§

impl<'a> UnwindSafe for FileHeader<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.