Skip to main content

PersonBuilder

Struct PersonBuilder 

Source
pub struct PersonBuilder<S: State = Empty> { /* private fields */ }
Expand description

Use builder syntax to set the inputs and finish with build().

Implementations§

Source§

impl<S: State> PersonBuilder<S>

Source

pub fn build(self) -> Person
where S: IsComplete,

Finish building and return the requested object

Source

pub fn id(self, value: String) -> PersonBuilder<SetId<S>>
where S::Id: IsUnset,

Required.

Source

pub fn schema(self, value: String) -> PersonBuilder<SetSchema<S>>
where S::Schema: IsUnset,

Optional (Some / Option setters). Default: "Person".to_string().

Source

pub fn maybe_schema(self, value: Option<String>) -> PersonBuilder<SetSchema<S>>
where S::Schema: IsUnset,

Optional (Some / Option setters). Default: "Person".to_string().

Source

pub fn abbreviation( self, value: impl Into<String>, ) -> PersonBuilder<SetAbbreviation<S>>
where S::Abbreviation: IsUnset,

Optional (Some / Option setters). Property: Abbreviation

Source

pub fn maybe_abbreviation( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetAbbreviation<S>>
where S::Abbreviation: IsUnset,

Optional (Some / Option setters). Property: Abbreviation

Source

pub fn address(self, value: impl Into<String>) -> PersonBuilder<SetAddress<S>>
where S::Address: IsUnset,

Optional (Some / Option setters). Property: Address

Source

pub fn maybe_address( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetAddress<S>>
where S::Address: IsUnset,

Optional (Some / Option setters). Property: Address

Source

pub fn address_entity( self, value: impl Into<String>, ) -> PersonBuilder<SetAddressEntity<S>>
where S::AddressEntity: IsUnset,

Optional (Some / Option setters). Property: Address

Source

pub fn maybe_address_entity( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetAddressEntity<S>>
where S::AddressEntity: IsUnset,

Optional (Some / Option setters). Property: Address

Source

pub fn aleph_url( self, value: impl Into<String>, ) -> PersonBuilder<SetAlephUrl<S>>
where S::AlephUrl: IsUnset,

Optional (Some / Option setters). Property: Aleph URL

Source

pub fn maybe_aleph_url( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetAlephUrl<S>>
where S::AlephUrl: IsUnset,

Optional (Some / Option setters). Property: Aleph URL

Source

pub fn alias(self, value: impl Into<String>) -> PersonBuilder<SetAlias<S>>
where S::Alias: IsUnset,

Optional (Some / Option setters). Property: Alias

Source

pub fn maybe_alias( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetAlias<S>>
where S::Alias: IsUnset,

Optional (Some / Option setters). Property: Alias

Source

pub fn appearance( self, value: impl Into<String>, ) -> PersonBuilder<SetAppearance<S>>
where S::Appearance: IsUnset,

Optional (Some / Option setters). Property: Physical appearance

Source

pub fn maybe_appearance( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetAppearance<S>>
where S::Appearance: IsUnset,

Optional (Some / Option setters). Property: Physical appearance

Source

pub fn birth_country( self, value: impl Into<String>, ) -> PersonBuilder<SetBirthCountry<S>>
where S::BirthCountry: IsUnset,

Optional (Some / Option setters). Property: Country of birth

Source

pub fn maybe_birth_country( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetBirthCountry<S>>
where S::BirthCountry: IsUnset,

Optional (Some / Option setters). Property: Country of birth

Source

pub fn birth_date( self, value: impl Into<String>, ) -> PersonBuilder<SetBirthDate<S>>
where S::BirthDate: IsUnset,

Optional (Some / Option setters). Property: Birth date

Source

pub fn maybe_birth_date( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetBirthDate<S>>
where S::BirthDate: IsUnset,

Optional (Some / Option setters). Property: Birth date

Source

pub fn birth_place( self, value: impl Into<String>, ) -> PersonBuilder<SetBirthPlace<S>>
where S::BirthPlace: IsUnset,

Optional (Some / Option setters). Property: Place of birth

Source

pub fn maybe_birth_place( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetBirthPlace<S>>
where S::BirthPlace: IsUnset,

Optional (Some / Option setters). Property: Place of birth

Source

pub fn bright_query_id( self, value: impl Into<String>, ) -> PersonBuilder<SetBrightQueryId<S>>
where S::BrightQueryId: IsUnset,

Optional (Some / Option setters). Property: BrightQuery ID

Source

pub fn maybe_bright_query_id( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetBrightQueryId<S>>
where S::BrightQueryId: IsUnset,

Optional (Some / Option setters). Property: BrightQuery ID

Source

pub fn bright_query_org_id( self, value: impl Into<String>, ) -> PersonBuilder<SetBrightQueryOrgId<S>>
where S::BrightQueryOrgId: IsUnset,

Optional (Some / Option setters). Property: BrightQuery Organization ID

Source

pub fn maybe_bright_query_org_id( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetBrightQueryOrgId<S>>
where S::BrightQueryOrgId: IsUnset,

Optional (Some / Option setters). Property: BrightQuery Organization ID

Source

pub fn bvd_id(self, value: impl Into<String>) -> PersonBuilder<SetBvdId<S>>
where S::BvdId: IsUnset,

Optional (Some / Option setters). Property: Bureau van Dijk ID

Source

pub fn maybe_bvd_id( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetBvdId<S>>
where S::BvdId: IsUnset,

Optional (Some / Option setters). Property: Bureau van Dijk ID

Source

pub fn citizenship( self, value: impl Into<String>, ) -> PersonBuilder<SetCitizenship<S>>
where S::Citizenship: IsUnset,

Optional (Some / Option setters). Property: Citizenship

Source

pub fn maybe_citizenship( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetCitizenship<S>>
where S::Citizenship: IsUnset,

Optional (Some / Option setters). Property: Citizenship

Source

pub fn classification( self, value: impl Into<String>, ) -> PersonBuilder<SetClassification<S>>
where S::Classification: IsUnset,

Optional (Some / Option setters). Property: Classification

Source

pub fn maybe_classification( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetClassification<S>>
where S::Classification: IsUnset,

Optional (Some / Option setters). Property: Classification

Source

pub fn country(self, value: impl Into<String>) -> PersonBuilder<SetCountry<S>>
where S::Country: IsUnset,

Optional (Some / Option setters). Property: Country

Source

pub fn maybe_country( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetCountry<S>>
where S::Country: IsUnset,

Optional (Some / Option setters). Property: Country

Source

pub fn created_at( self, value: impl Into<String>, ) -> PersonBuilder<SetCreatedAt<S>>
where S::CreatedAt: IsUnset,

Optional (Some / Option setters). Property: Created at

Source

pub fn maybe_created_at( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetCreatedAt<S>>
where S::CreatedAt: IsUnset,

Optional (Some / Option setters). Property: Created at

Source

pub fn death_date( self, value: impl Into<String>, ) -> PersonBuilder<SetDeathDate<S>>
where S::DeathDate: IsUnset,

Optional (Some / Option setters). Property: Death date

Source

pub fn maybe_death_date( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetDeathDate<S>>
where S::DeathDate: IsUnset,

Optional (Some / Option setters). Property: Death date

Source

pub fn description( self, value: impl Into<String>, ) -> PersonBuilder<SetDescription<S>>
where S::Description: IsUnset,

Optional (Some / Option setters). Property: Description

Source

pub fn maybe_description( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetDescription<S>>
where S::Description: IsUnset,

Optional (Some / Option setters). Property: Description

Source

pub fn dissolution_date( self, value: impl Into<String>, ) -> PersonBuilder<SetDissolutionDate<S>>
where S::DissolutionDate: IsUnset,

Optional (Some / Option setters). Property: Dissolution date

Source

pub fn maybe_dissolution_date( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetDissolutionDate<S>>
where S::DissolutionDate: IsUnset,

Optional (Some / Option setters). Property: Dissolution date

Source

pub fn duns_code( self, value: impl Into<String>, ) -> PersonBuilder<SetDunsCode<S>>
where S::DunsCode: IsUnset,

Optional (Some / Option setters). Property: DUNS

Source

pub fn maybe_duns_code( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetDunsCode<S>>
where S::DunsCode: IsUnset,

Optional (Some / Option setters). Property: DUNS

Source

pub fn education( self, value: impl Into<String>, ) -> PersonBuilder<SetEducation<S>>
where S::Education: IsUnset,

Optional (Some / Option setters). Property: Education

Source

pub fn maybe_education( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetEducation<S>>
where S::Education: IsUnset,

Optional (Some / Option setters). Property: Education

Source

pub fn email(self, value: impl Into<String>) -> PersonBuilder<SetEmail<S>>
where S::Email: IsUnset,

Optional (Some / Option setters). Property: E-Mail

Source

pub fn maybe_email( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetEmail<S>>
where S::Email: IsUnset,

Optional (Some / Option setters). Property: E-Mail

Source

pub fn ethnicity( self, value: impl Into<String>, ) -> PersonBuilder<SetEthnicity<S>>
where S::Ethnicity: IsUnset,

Optional (Some / Option setters). Property: Ethnicity

Source

pub fn maybe_ethnicity( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetEthnicity<S>>
where S::Ethnicity: IsUnset,

Optional (Some / Option setters). Property: Ethnicity

Source

pub fn eye_color( self, value: impl Into<String>, ) -> PersonBuilder<SetEyeColor<S>>
where S::EyeColor: IsUnset,

Optional (Some / Option setters). Property: Eye color

Source

pub fn maybe_eye_color( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetEyeColor<S>>
where S::EyeColor: IsUnset,

Optional (Some / Option setters). Property: Eye color

Source

pub fn father_name( self, value: impl Into<String>, ) -> PersonBuilder<SetFatherName<S>>
where S::FatherName: IsUnset,

Optional (Some / Option setters). Property: Patronymic

Source

pub fn maybe_father_name( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetFatherName<S>>
where S::FatherName: IsUnset,

Optional (Some / Option setters). Property: Patronymic

Source

pub fn first_name( self, value: impl Into<String>, ) -> PersonBuilder<SetFirstName<S>>
where S::FirstName: IsUnset,

Optional (Some / Option setters). Property: First name

Source

pub fn maybe_first_name( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetFirstName<S>>
where S::FirstName: IsUnset,

Optional (Some / Option setters). Property: First name

Source

pub fn gender(self, value: impl Into<String>) -> PersonBuilder<SetGender<S>>
where S::Gender: IsUnset,

Optional (Some / Option setters). Property: Gender

Source

pub fn maybe_gender( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetGender<S>>
where S::Gender: IsUnset,

Optional (Some / Option setters). Property: Gender

Source

pub fn hair_color( self, value: impl Into<String>, ) -> PersonBuilder<SetHairColor<S>>
where S::HairColor: IsUnset,

Optional (Some / Option setters). Property: Hair color

Source

pub fn maybe_hair_color( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetHairColor<S>>
where S::HairColor: IsUnset,

Optional (Some / Option setters). Property: Hair color

Source

pub fn height(self, value: f64) -> PersonBuilder<SetHeight<S>>
where S::Height: IsUnset,

Optional (Some / Option setters). Property: Height

Source

pub fn maybe_height(self, value: Option<f64>) -> PersonBuilder<SetHeight<S>>
where S::Height: IsUnset,

Optional (Some / Option setters). Property: Height

Source

pub fn icij_id(self, value: impl Into<String>) -> PersonBuilder<SetIcijId<S>>
where S::IcijId: IsUnset,

Optional (Some / Option setters). Property: ICIJ ID

Source

pub fn maybe_icij_id( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetIcijId<S>>
where S::IcijId: IsUnset,

Optional (Some / Option setters). Property: ICIJ ID

Source

pub fn id_number( self, value: impl Into<String>, ) -> PersonBuilder<SetIdNumber<S>>
where S::IdNumber: IsUnset,

Optional (Some / Option setters). Property: ID Number

Source

pub fn maybe_id_number( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetIdNumber<S>>
where S::IdNumber: IsUnset,

Optional (Some / Option setters). Property: ID Number

Source

pub fn incorporation_date( self, value: impl Into<String>, ) -> PersonBuilder<SetIncorporationDate<S>>
where S::IncorporationDate: IsUnset,

Optional (Some / Option setters). Property: Incorporation date

Source

pub fn maybe_incorporation_date( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetIncorporationDate<S>>
where S::IncorporationDate: IsUnset,

Optional (Some / Option setters). Property: Incorporation date

Source

pub fn index_text( self, value: impl Into<String>, ) -> PersonBuilder<SetIndexText<S>>
where S::IndexText: IsUnset,

Optional (Some / Option setters). Property: Index text

Source

pub fn maybe_index_text( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetIndexText<S>>
where S::IndexText: IsUnset,

Optional (Some / Option setters). Property: Index text

Source

pub fn inn_code(self, value: impl Into<String>) -> PersonBuilder<SetInnCode<S>>
where S::InnCode: IsUnset,

Optional (Some / Option setters). Property: INN

Source

pub fn maybe_inn_code( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetInnCode<S>>
where S::InnCode: IsUnset,

Optional (Some / Option setters). Property: INN

Source

pub fn jurisdiction( self, value: impl Into<String>, ) -> PersonBuilder<SetJurisdiction<S>>
where S::Jurisdiction: IsUnset,

Optional (Some / Option setters). Property: Jurisdiction

Source

pub fn maybe_jurisdiction( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetJurisdiction<S>>
where S::Jurisdiction: IsUnset,

Optional (Some / Option setters). Property: Jurisdiction

Source

pub fn keywords(self, value: impl Into<String>) -> PersonBuilder<SetKeywords<S>>
where S::Keywords: IsUnset,

Optional (Some / Option setters). Property: Keywords

Source

pub fn maybe_keywords( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetKeywords<S>>
where S::Keywords: IsUnset,

Optional (Some / Option setters). Property: Keywords

Source

pub fn last_name( self, value: impl Into<String>, ) -> PersonBuilder<SetLastName<S>>
where S::LastName: IsUnset,

Optional (Some / Option setters). Property: Last name

Source

pub fn maybe_last_name( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetLastName<S>>
where S::LastName: IsUnset,

Optional (Some / Option setters). Property: Last name

Source

pub fn legal_form( self, value: impl Into<String>, ) -> PersonBuilder<SetLegalForm<S>>
where S::LegalForm: IsUnset,

Optional (Some / Option setters). Property: Legal form

Optional (Some / Option setters). Property: Legal form

Source

pub fn lei_code(self, value: impl Into<String>) -> PersonBuilder<SetLeiCode<S>>
where S::LeiCode: IsUnset,

Optional (Some / Option setters). Property: LEI

Source

pub fn maybe_lei_code( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetLeiCode<S>>
where S::LeiCode: IsUnset,

Optional (Some / Option setters). Property: LEI

Source

pub fn license_number( self, value: impl Into<String>, ) -> PersonBuilder<SetLicenseNumber<S>>
where S::LicenseNumber: IsUnset,

Optional (Some / Option setters). Property: License Number

Source

pub fn maybe_license_number( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetLicenseNumber<S>>
where S::LicenseNumber: IsUnset,

Optional (Some / Option setters). Property: License Number

Source

pub fn main_country( self, value: impl Into<String>, ) -> PersonBuilder<SetMainCountry<S>>
where S::MainCountry: IsUnset,

Optional (Some / Option setters). Property: Country of origin

Source

pub fn maybe_main_country( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetMainCountry<S>>
where S::MainCountry: IsUnset,

Optional (Some / Option setters). Property: Country of origin

Source

pub fn middle_name( self, value: impl Into<String>, ) -> PersonBuilder<SetMiddleName<S>>
where S::MiddleName: IsUnset,

Optional (Some / Option setters). Property: Middle name

Source

pub fn maybe_middle_name( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetMiddleName<S>>
where S::MiddleName: IsUnset,

Optional (Some / Option setters). Property: Middle name

Source

pub fn modified_at( self, value: impl Into<String>, ) -> PersonBuilder<SetModifiedAt<S>>
where S::ModifiedAt: IsUnset,

Optional (Some / Option setters). Property: Modified on

Source

pub fn maybe_modified_at( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetModifiedAt<S>>
where S::ModifiedAt: IsUnset,

Optional (Some / Option setters). Property: Modified on

Source

pub fn mother_name( self, value: impl Into<String>, ) -> PersonBuilder<SetMotherName<S>>
where S::MotherName: IsUnset,

Optional (Some / Option setters). Property: Matronymic

Source

pub fn maybe_mother_name( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetMotherName<S>>
where S::MotherName: IsUnset,

Optional (Some / Option setters). Property: Matronymic

Source

pub fn name(self, value: impl Into<String>) -> PersonBuilder<SetName<S>>
where S::Name: IsUnset,

Required.

Property: Name

Source

pub fn name_suffix( self, value: impl Into<String>, ) -> PersonBuilder<SetNameSuffix<S>>
where S::NameSuffix: IsUnset,

Optional (Some / Option setters). Property: Name suffix

Source

pub fn maybe_name_suffix( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetNameSuffix<S>>
where S::NameSuffix: IsUnset,

Optional (Some / Option setters). Property: Name suffix

Source

pub fn nationality( self, value: impl Into<String>, ) -> PersonBuilder<SetNationality<S>>
where S::Nationality: IsUnset,

Optional (Some / Option setters). Property: Nationality

Source

pub fn maybe_nationality( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetNationality<S>>
where S::Nationality: IsUnset,

Optional (Some / Option setters). Property: Nationality

Source

pub fn notes(self, value: impl Into<String>) -> PersonBuilder<SetNotes<S>>
where S::Notes: IsUnset,

Optional (Some / Option setters). Property: Notes

Source

pub fn maybe_notes( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetNotes<S>>
where S::Notes: IsUnset,

Optional (Some / Option setters). Property: Notes

Source

pub fn npi_code(self, value: impl Into<String>) -> PersonBuilder<SetNpiCode<S>>
where S::NpiCode: IsUnset,

Optional (Some / Option setters). Property: NPI

Source

pub fn maybe_npi_code( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetNpiCode<S>>
where S::NpiCode: IsUnset,

Optional (Some / Option setters). Property: NPI

Source

pub fn ogrn_code( self, value: impl Into<String>, ) -> PersonBuilder<SetOgrnCode<S>>
where S::OgrnCode: IsUnset,

Optional (Some / Option setters). Property: OGRN

Source

pub fn maybe_ogrn_code( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetOgrnCode<S>>
where S::OgrnCode: IsUnset,

Optional (Some / Option setters). Property: OGRN

Source

pub fn okpo_code( self, value: impl Into<String>, ) -> PersonBuilder<SetOkpoCode<S>>
where S::OkpoCode: IsUnset,

Optional (Some / Option setters). Property: OKPO

Source

pub fn maybe_okpo_code( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetOkpoCode<S>>
where S::OkpoCode: IsUnset,

Optional (Some / Option setters). Property: OKPO

Source

pub fn opencorporates_url( self, value: impl Into<String>, ) -> PersonBuilder<SetOpencorporatesUrl<S>>
where S::OpencorporatesUrl: IsUnset,

Optional (Some / Option setters). Property: OpenCorporates URL

Source

pub fn maybe_opencorporates_url( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetOpencorporatesUrl<S>>
where S::OpencorporatesUrl: IsUnset,

Optional (Some / Option setters). Property: OpenCorporates URL

Source

pub fn parent(self, value: impl Into<String>) -> PersonBuilder<SetParent<S>>
where S::Parent: IsUnset,

Optional (Some / Option setters). Property: Parent company

Source

pub fn maybe_parent( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetParent<S>>
where S::Parent: IsUnset,

Optional (Some / Option setters). Property: Parent company

Source

pub fn passport_number( self, value: impl Into<String>, ) -> PersonBuilder<SetPassportNumber<S>>
where S::PassportNumber: IsUnset,

Optional (Some / Option setters). Property: Passport number

Source

pub fn maybe_passport_number( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetPassportNumber<S>>
where S::PassportNumber: IsUnset,

Optional (Some / Option setters). Property: Passport number

Source

pub fn phone(self, value: impl Into<String>) -> PersonBuilder<SetPhone<S>>
where S::Phone: IsUnset,

Optional (Some / Option setters). Property: Phone

Source

pub fn maybe_phone( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetPhone<S>>
where S::Phone: IsUnset,

Optional (Some / Option setters). Property: Phone

Source

pub fn political( self, value: impl Into<String>, ) -> PersonBuilder<SetPolitical<S>>
where S::Political: IsUnset,

Optional (Some / Option setters). Property: Political association

Source

pub fn maybe_political( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetPolitical<S>>
where S::Political: IsUnset,

Optional (Some / Option setters). Property: Political association

Source

pub fn position(self, value: impl Into<String>) -> PersonBuilder<SetPosition<S>>
where S::Position: IsUnset,

Optional (Some / Option setters). Property: Position

Source

pub fn maybe_position( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetPosition<S>>
where S::Position: IsUnset,

Optional (Some / Option setters). Property: Position

Source

pub fn previous_name( self, value: impl Into<String>, ) -> PersonBuilder<SetPreviousName<S>>
where S::PreviousName: IsUnset,

Optional (Some / Option setters). Property: Previous name

Source

pub fn maybe_previous_name( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetPreviousName<S>>
where S::PreviousName: IsUnset,

Optional (Some / Option setters). Property: Previous name

Source

pub fn profession( self, value: impl Into<String>, ) -> PersonBuilder<SetProfession<S>>
where S::Profession: IsUnset,

Optional (Some / Option setters). Property: Profession

Source

pub fn maybe_profession( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetProfession<S>>
where S::Profession: IsUnset,

Optional (Some / Option setters). Property: Profession

Source

pub fn program(self, value: impl Into<String>) -> PersonBuilder<SetProgram<S>>
where S::Program: IsUnset,

Optional (Some / Option setters). Property: Program

Source

pub fn maybe_program( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetProgram<S>>
where S::Program: IsUnset,

Optional (Some / Option setters). Property: Program

Source

pub fn program_id( self, value: impl Into<String>, ) -> PersonBuilder<SetProgramId<S>>
where S::ProgramId: IsUnset,

Optional (Some / Option setters). Property: Program ID

Source

pub fn maybe_program_id( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetProgramId<S>>
where S::ProgramId: IsUnset,

Optional (Some / Option setters). Property: Program ID

Source

pub fn proof(self, value: impl Into<String>) -> PersonBuilder<SetProof<S>>
where S::Proof: IsUnset,

Optional (Some / Option setters). Property: Source document

Source

pub fn maybe_proof( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetProof<S>>
where S::Proof: IsUnset,

Optional (Some / Option setters). Property: Source document

Source

pub fn publisher( self, value: impl Into<String>, ) -> PersonBuilder<SetPublisher<S>>
where S::Publisher: IsUnset,

Optional (Some / Option setters). Property: Publishing source

Source

pub fn maybe_publisher( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetPublisher<S>>
where S::Publisher: IsUnset,

Optional (Some / Option setters). Property: Publishing source

Source

pub fn publisher_url( self, value: impl Into<String>, ) -> PersonBuilder<SetPublisherUrl<S>>
where S::PublisherUrl: IsUnset,

Optional (Some / Option setters). Property: Publishing source URL

Source

pub fn maybe_publisher_url( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetPublisherUrl<S>>
where S::PublisherUrl: IsUnset,

Optional (Some / Option setters). Property: Publishing source URL

Source

pub fn registration_number( self, value: impl Into<String>, ) -> PersonBuilder<SetRegistrationNumber<S>>
where S::RegistrationNumber: IsUnset,

Optional (Some / Option setters). Property: Registration number

Source

pub fn maybe_registration_number( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetRegistrationNumber<S>>
where S::RegistrationNumber: IsUnset,

Optional (Some / Option setters). Property: Registration number

Source

pub fn religion(self, value: impl Into<String>) -> PersonBuilder<SetReligion<S>>
where S::Religion: IsUnset,

Optional (Some / Option setters). Property: Religion

Source

pub fn maybe_religion( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetReligion<S>>
where S::Religion: IsUnset,

Optional (Some / Option setters). Property: Religion

Source

pub fn retrieved_at( self, value: impl Into<String>, ) -> PersonBuilder<SetRetrievedAt<S>>
where S::RetrievedAt: IsUnset,

Optional (Some / Option setters). Property: Retrieved on

Source

pub fn maybe_retrieved_at( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetRetrievedAt<S>>
where S::RetrievedAt: IsUnset,

Optional (Some / Option setters). Property: Retrieved on

Source

pub fn sayari_id( self, value: impl Into<String>, ) -> PersonBuilder<SetSayariId<S>>
where S::SayariId: IsUnset,

Optional (Some / Option setters). Property: Sayari Entity ID

Source

pub fn maybe_sayari_id( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetSayariId<S>>
where S::SayariId: IsUnset,

Optional (Some / Option setters). Property: Sayari Entity ID

Source

pub fn second_name( self, value: impl Into<String>, ) -> PersonBuilder<SetSecondName<S>>
where S::SecondName: IsUnset,

Optional (Some / Option setters). Property: Second name

Source

pub fn maybe_second_name( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetSecondName<S>>
where S::SecondName: IsUnset,

Optional (Some / Option setters). Property: Second name

Source

pub fn sector(self, value: impl Into<String>) -> PersonBuilder<SetSector<S>>
where S::Sector: IsUnset,

Optional (Some / Option setters). Property: Sector

Source

pub fn maybe_sector( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetSector<S>>
where S::Sector: IsUnset,

Optional (Some / Option setters). Property: Sector

Source

pub fn social_security_number( self, value: impl Into<String>, ) -> PersonBuilder<SetSocialSecurityNumber<S>>
where S::SocialSecurityNumber: IsUnset,

Optional (Some / Option setters). Property: Social security number

Source

pub fn maybe_social_security_number( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetSocialSecurityNumber<S>>
where S::SocialSecurityNumber: IsUnset,

Optional (Some / Option setters). Property: Social security number

Source

pub fn source_url( self, value: impl Into<String>, ) -> PersonBuilder<SetSourceUrl<S>>
where S::SourceUrl: IsUnset,

Optional (Some / Option setters). Property: Source link

Source

pub fn maybe_source_url( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetSourceUrl<S>>
where S::SourceUrl: IsUnset,

Optional (Some / Option setters). Property: Source link

Source

pub fn spoken_language( self, value: impl Into<String>, ) -> PersonBuilder<SetSpokenLanguage<S>>
where S::SpokenLanguage: IsUnset,

Optional (Some / Option setters). Property: Spoken language

Source

pub fn maybe_spoken_language( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetSpokenLanguage<S>>
where S::SpokenLanguage: IsUnset,

Optional (Some / Option setters). Property: Spoken language

Source

pub fn status(self, value: impl Into<String>) -> PersonBuilder<SetStatus<S>>
where S::Status: IsUnset,

Optional (Some / Option setters). Property: Status

Source

pub fn maybe_status( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetStatus<S>>
where S::Status: IsUnset,

Optional (Some / Option setters). Property: Status

Source

pub fn summary(self, value: impl Into<String>) -> PersonBuilder<SetSummary<S>>
where S::Summary: IsUnset,

Optional (Some / Option setters). Property: Summary

Source

pub fn maybe_summary( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetSummary<S>>
where S::Summary: IsUnset,

Optional (Some / Option setters). Property: Summary

Source

pub fn swift_bic( self, value: impl Into<String>, ) -> PersonBuilder<SetSwiftBic<S>>
where S::SwiftBic: IsUnset,

Optional (Some / Option setters). Property: SWIFT/BIC

Source

pub fn maybe_swift_bic( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetSwiftBic<S>>
where S::SwiftBic: IsUnset,

Optional (Some / Option setters). Property: SWIFT/BIC

Source

pub fn tax_number( self, value: impl Into<String>, ) -> PersonBuilder<SetTaxNumber<S>>
where S::TaxNumber: IsUnset,

Optional (Some / Option setters). Property: Tax Number

Source

pub fn maybe_tax_number( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetTaxNumber<S>>
where S::TaxNumber: IsUnset,

Optional (Some / Option setters). Property: Tax Number

Source

pub fn tax_status( self, value: impl Into<String>, ) -> PersonBuilder<SetTaxStatus<S>>
where S::TaxStatus: IsUnset,

Optional (Some / Option setters). Property: Tax status

Source

pub fn maybe_tax_status( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetTaxStatus<S>>
where S::TaxStatus: IsUnset,

Optional (Some / Option setters). Property: Tax status

Source

pub fn title(self, value: impl Into<String>) -> PersonBuilder<SetTitle<S>>
where S::Title: IsUnset,

Optional (Some / Option setters). Property: Title

Source

pub fn maybe_title( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetTitle<S>>
where S::Title: IsUnset,

Optional (Some / Option setters). Property: Title

Source

pub fn topics(self, value: impl Into<String>) -> PersonBuilder<SetTopics<S>>
where S::Topics: IsUnset,

Optional (Some / Option setters). Property: Topics

Source

pub fn maybe_topics( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetTopics<S>>
where S::Topics: IsUnset,

Optional (Some / Option setters). Property: Topics

Source

pub fn unique_entity_id( self, value: impl Into<String>, ) -> PersonBuilder<SetUniqueEntityId<S>>
where S::UniqueEntityId: IsUnset,

Optional (Some / Option setters). Property: Unique Entity ID

Source

pub fn maybe_unique_entity_id( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetUniqueEntityId<S>>
where S::UniqueEntityId: IsUnset,

Optional (Some / Option setters). Property: Unique Entity ID

Source

pub fn usc_code(self, value: impl Into<String>) -> PersonBuilder<SetUscCode<S>>
where S::UscCode: IsUnset,

Optional (Some / Option setters). Property: USCC

Source

pub fn maybe_usc_code( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetUscCode<S>>
where S::UscCode: IsUnset,

Optional (Some / Option setters). Property: USCC

Source

pub fn vat_code(self, value: impl Into<String>) -> PersonBuilder<SetVatCode<S>>
where S::VatCode: IsUnset,

Optional (Some / Option setters). Property: V.A.T. Identifier

Source

pub fn maybe_vat_code( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetVatCode<S>>
where S::VatCode: IsUnset,

Optional (Some / Option setters). Property: V.A.T. Identifier

Source

pub fn weak_alias( self, value: impl Into<String>, ) -> PersonBuilder<SetWeakAlias<S>>
where S::WeakAlias: IsUnset,

Optional (Some / Option setters). Property: Weak alias

Source

pub fn maybe_weak_alias( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetWeakAlias<S>>
where S::WeakAlias: IsUnset,

Optional (Some / Option setters). Property: Weak alias

Source

pub fn website(self, value: impl Into<String>) -> PersonBuilder<SetWebsite<S>>
where S::Website: IsUnset,

Optional (Some / Option setters). Property: Website

Source

pub fn maybe_website( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetWebsite<S>>
where S::Website: IsUnset,

Optional (Some / Option setters). Property: Website

Source

pub fn weight(self, value: f64) -> PersonBuilder<SetWeight<S>>
where S::Weight: IsUnset,

Optional (Some / Option setters). Property: Weight

Source

pub fn maybe_weight(self, value: Option<f64>) -> PersonBuilder<SetWeight<S>>
where S::Weight: IsUnset,

Optional (Some / Option setters). Property: Weight

Source

pub fn wikidata_id( self, value: impl Into<String>, ) -> PersonBuilder<SetWikidataId<S>>
where S::WikidataId: IsUnset,

Optional (Some / Option setters). Property: Wikidata ID

Source

pub fn maybe_wikidata_id( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetWikidataId<S>>
where S::WikidataId: IsUnset,

Optional (Some / Option setters). Property: Wikidata ID

Source

pub fn wikipedia_url( self, value: impl Into<String>, ) -> PersonBuilder<SetWikipediaUrl<S>>
where S::WikipediaUrl: IsUnset,

Optional (Some / Option setters). Property: Wikipedia Article

Source

pub fn maybe_wikipedia_url( self, value: Option<impl Into<String>>, ) -> PersonBuilder<SetWikipediaUrl<S>>
where S::WikipediaUrl: IsUnset,

Optional (Some / Option setters). Property: Wikipedia Article

Auto Trait Implementations§

§

impl<S> Freeze for PersonBuilder<S>

§

impl<S> RefUnwindSafe for PersonBuilder<S>

§

impl<S> Send for PersonBuilder<S>

§

impl<S> Sync for PersonBuilder<S>

§

impl<S> Unpin for PersonBuilder<S>

§

impl<S> UnsafeUnpin for PersonBuilder<S>

§

impl<S> UnwindSafe for PersonBuilder<S>

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> 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, 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.