Skip to main content

HeaderRecord

Struct HeaderRecord 

Source
pub struct HeaderRecord {
Show 58 fields pub unique_system_identifier: i64, pub uls_file_number: Option<String>, pub ebf_number: Option<String>, pub call_sign: Option<String>, pub license_status: Option<char>, pub radio_service_code: Option<String>, pub grant_date: Option<NaiveDate>, pub expired_date: Option<NaiveDate>, pub cancellation_date: Option<NaiveDate>, pub eligibility_rule_num: Option<String>, pub applicant_type_code_reserved: Option<char>, pub alien: Option<char>, pub alien_government: Option<char>, pub alien_corporation: Option<char>, pub alien_officer: Option<char>, pub alien_control: Option<char>, pub revoked: Option<char>, pub convicted: Option<char>, pub adjudged: Option<char>, pub involved_reserved: Option<char>, pub common_carrier: Option<char>, pub non_common_carrier: Option<char>, pub private_comm: Option<char>, pub fixed: Option<char>, pub mobile: Option<char>, pub radiolocation: Option<char>, pub satellite: Option<char>, pub developmental_or_sta: Option<char>, pub interconnected_service: Option<char>, pub certifier_first_name: Option<String>, pub certifier_mi: Option<char>, pub certifier_last_name: Option<String>, pub certifier_suffix: Option<String>, pub certifier_title: Option<String>, pub sex: Option<char>, pub african_american: Option<char>, pub native_american: Option<char>, pub hawaiian: Option<char>, pub asian: Option<char>, pub white: Option<char>, pub ethnicity: Option<char>, pub effective_date: Option<NaiveDate>, pub last_action_date: Option<NaiveDate>, pub auction_id: Option<i32>, pub reg_stat_broad_serv: Option<char>, pub band_manager: Option<char>, pub type_serv_broad_serv: Option<char>, pub alien_ruling: Option<char>, pub licensee_name_change: Option<char>, pub whitespace_ind: Option<char>, pub additional_cert_choice: Option<char>, pub additional_cert_answer: Option<char>, pub discontinuation_ind: Option<char>, pub regulatory_compliance_ind: Option<char>, pub eligibility_cert_900: Option<char>, pub transition_plan_cert_900: Option<char>, pub return_spectrum_cert_900: Option<char>, pub payment_cert_900: Option<char>,
}
Expand description

HD record - License/Application Header. This is the primary record for a license or application.

Fields§

§unique_system_identifier: i64§uls_file_number: Option<String>§ebf_number: Option<String>§call_sign: Option<String>§license_status: Option<char>§radio_service_code: Option<String>§grant_date: Option<NaiveDate>§expired_date: Option<NaiveDate>§cancellation_date: Option<NaiveDate>§eligibility_rule_num: Option<String>§applicant_type_code_reserved: Option<char>§alien: Option<char>§alien_government: Option<char>§alien_corporation: Option<char>§alien_officer: Option<char>§alien_control: Option<char>§revoked: Option<char>§convicted: Option<char>§adjudged: Option<char>§involved_reserved: Option<char>§common_carrier: Option<char>§non_common_carrier: Option<char>§private_comm: Option<char>§fixed: Option<char>§mobile: Option<char>§radiolocation: Option<char>§satellite: Option<char>§developmental_or_sta: Option<char>§interconnected_service: Option<char>§certifier_first_name: Option<String>§certifier_mi: Option<char>§certifier_last_name: Option<String>§certifier_suffix: Option<String>§certifier_title: Option<String>§sex: Option<char>§african_american: Option<char>§native_american: Option<char>§hawaiian: Option<char>§asian: Option<char>§white: Option<char>§ethnicity: Option<char>§effective_date: Option<NaiveDate>§last_action_date: Option<NaiveDate>§auction_id: Option<i32>§reg_stat_broad_serv: Option<char>§band_manager: Option<char>§type_serv_broad_serv: Option<char>§alien_ruling: Option<char>§licensee_name_change: Option<char>§whitespace_ind: Option<char>§additional_cert_choice: Option<char>§additional_cert_answer: Option<char>§discontinuation_ind: Option<char>§regulatory_compliance_ind: Option<char>§eligibility_cert_900: Option<char>§transition_plan_cert_900: Option<char>§return_spectrum_cert_900: Option<char>§payment_cert_900: Option<char>

Implementations§

Source§

impl HeaderRecord

Source

pub fn from_fields(fields: &[&str]) -> Self

Parse a header record from pipe-delimited fields.

Source

pub fn is_active(&self) -> bool

Returns true if this is an active license.

Source

pub fn is_expired(&self) -> bool

Returns true if this license has expired.

Trait Implementations§

Source§

impl Clone for HeaderRecord

Source§

fn clone(&self) -> HeaderRecord

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 Debug for HeaderRecord

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for HeaderRecord

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for HeaderRecord

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

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.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,