pub struct SubjectBase {Show 22 fields
pub id: SubjectId,
pub name: Option<String>,
pub company_id: Option<CompanyId>,
pub company_id_suffix: Option<String>,
pub surname: Option<String>,
pub given_name: Option<String>,
pub title_before: Option<String>,
pub title_after: Option<String>,
pub short_personal_id: Option<ShortPersonalIdentifier>,
pub street: Option<String>,
pub house_number: Option<String>,
pub orientation_number: Option<String>,
pub municipality_part_name: Option<String>,
pub municipality_name: Option<String>,
pub city_district_name: Option<String>,
pub city_borough_name: Option<String>,
pub postal_code: Option<String>,
pub kind: SubjectKind,
pub address_number_kind: Option<AddressNumberKind>,
pub country_name: Option<String>,
pub district_name: Option<String>,
pub characteristic_code: Option<String>,
}Expand description
Fields common to a primary authorized subject and each partner.
Fields§
§id: SubjectIdInternal authorized-subject ID.
name: Option<String>Legal-person name.
company_id: Option<CompanyId>Company identification number (IČO).
company_id_suffix: Option<String>Company-ID suffix, preserved lexically.
surname: Option<String>Surname.
given_name: Option<String>Given name.
title_before: Option<String>Title before the name.
title_after: Option<String>Title after the name.
short_personal_id: Option<ShortPersonalIdentifier>Shortened personal identifier, redacted from Debug output.
street: Option<String>Street name.
house_number: Option<String>House number, retaining its lexical form.
orientation_number: Option<String>Orientation number, preserved as text.
municipality_part_name: Option<String>Municipality-part name.
municipality_name: Option<String>Municipality name.
city_district_name: Option<String>City-district name.
city_borough_name: Option<String>City-borough name.
postal_code: Option<String>Postal code, retaining leading zeroes and its lexical form.
kind: SubjectKindSubject kind.
address_number_kind: Option<AddressNumberKind>Descriptive/evidentiary house-number kind.
country_name: Option<String>Country name.
district_name: Option<String>District name.
characteristic_code: Option<String>Dynamic subject-characteristic code, preserved lexically.
Trait Implementations§
Source§impl Clone for SubjectBase
impl Clone for SubjectBase
Source§impl Debug for SubjectBase
impl Debug for SubjectBase
impl Eq for SubjectBase
Source§impl PartialEq for SubjectBase
impl PartialEq for SubjectBase
impl StructuralPartialEq for SubjectBase
Auto Trait Implementations§
impl Forget for SubjectBase
impl Freeze for SubjectBase
impl Move for SubjectBase
impl RefUnwindSafe for SubjectBase
impl Send for SubjectBase
impl Sync for SubjectBase
impl Unpin for SubjectBase
impl UnsafeUnpin for SubjectBase
impl UnwindSafe for SubjectBase
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.