pub struct Business { /* private fields */ }Expand description
The Business struct holds query information for active business licenses, for access in GIS.
Implementations§
Source§impl Business
impl Business
Sourcepub fn company_name(&self) -> String
pub fn company_name(&self) -> String
The company_name method returns the cloned value of the company_name field, which
contains the company name.
Sourcepub fn contact_name(&self) -> Option<String>
pub fn contact_name(&self) -> Option<String>
The contact_name method returns the cloned value of the contact_name field, which
contains the contact name for the business.
Sourcepub fn dba(&self) -> Option<String>
pub fn dba(&self) -> Option<String>
The dba method returns the cloned value of the dba field, which contains the business
alias name.
Sourcepub fn address(&self) -> PartialAddress
pub fn address(&self) -> PartialAddress
The address method returns the cloned value of the address field, which contains a
PartialAddress constructed from the provided business address.
Sourcepub fn license(&self) -> String
pub fn license(&self) -> String
The license method returns the cloned value of the license field, which contains the
license identifier assigned to the business.
Sourcepub fn industry_code(&self) -> i32
pub fn industry_code(&self) -> i32
The industry_code method returns the NAICS industry code.
Sourcepub fn industry_name(&self) -> String
pub fn industry_name(&self) -> String
The industry_name method returns the NAICS industry code description.
Sourcepub fn sector_code(&self) -> i32
pub fn sector_code(&self) -> i32
The sector_code method returns the NAICS sector code.
Sourcepub fn sector_name(&self) -> String
pub fn sector_name(&self) -> String
The sector_name method returns the NAICS sector code description.
Sourcepub fn subsector_code(&self) -> i32
pub fn subsector_code(&self) -> i32
The subsector_code method returns the NAICS subsector code.
Sourcepub fn subsector_name(&self) -> Option<String>
pub fn subsector_name(&self) -> Option<String>
The subsector_name method returns the NAICS subsector code description.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Business
impl<'de> Deserialize<'de> for Business
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>,
Source§impl Ord for Business
impl Ord for Business
Source§impl PartialOrd for Business
impl PartialOrd for Business
impl Eq for Business
impl StructuralPartialEq for Business
Auto Trait Implementations§
impl Freeze for Business
impl RefUnwindSafe for Business
impl Send for Business
impl Sync for Business
impl Unpin for Business
impl UnwindSafe for Business
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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 more