pub enum LodesDataset {
OD {
edition: LodesEdition,
job_type: LodesJobType,
od_part: OdPart,
year: u64,
},
RAC {
edition: LodesEdition,
job_type: LodesJobType,
segment: WorkplaceSegment,
year: u64,
},
WAC {
edition: LodesEdition,
job_type: LodesJobType,
segment: WorkplaceSegment,
year: u64,
},
}Variants§
Implementations§
Source§impl LodesDataset
impl LodesDataset
pub fn description(&self) -> String
pub fn dataset_directory(&self) -> String
Sourcepub fn create_uri(&self, geoid: &Geoid) -> Result<String, String>
pub fn create_uri(&self, geoid: &Geoid) -> Result<String, String>
creates a URI to a LODES datasets based on the directory and file naming conventions described in the LODESTechDoc8.1.pdf file. see https://lehd.ces.census.gov/data/lodes/LODES8/LODESTechDoc8.1.pdf
pub fn output_filename(&self, wildcard: &Option<GeoidType>) -> String
Sourcepub fn tiger_year(&self) -> u64
pub fn tiger_year(&self) -> u64
LODES editions correspond to specific TIGER/Lines datasets. see
LodesEdition::tiger_year for details. this year value should
be used when downloading complimentary TIGER/Lines datasets.
Trait Implementations§
Source§impl Clone for LodesDataset
impl Clone for LodesDataset
Source§fn clone(&self) -> LodesDataset
fn clone(&self) -> LodesDataset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LodesDataset
Source§impl Debug for LodesDataset
impl Debug for LodesDataset
Source§impl Default for LodesDataset
impl Default for LodesDataset
Source§impl<'de> Deserialize<'de> for LodesDataset
impl<'de> Deserialize<'de> for LodesDataset
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 Display for LodesDataset
impl Display for LodesDataset
Auto Trait Implementations§
impl Freeze for LodesDataset
impl RefUnwindSafe for LodesDataset
impl Send for LodesDataset
impl Sync for LodesDataset
impl Unpin for LodesDataset
impl UnsafeUnpin for LodesDataset
impl UnwindSafe for LodesDataset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.