Skip to main content

LegalEntityBuilder

Struct LegalEntityBuilder 

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

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

Implementations§

Source§

impl<S: State> LegalEntityBuilder<S>

Source

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

Finish building and return the requested object

Source

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

Required.

Source

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

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

Source

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

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

Source

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

Optional (Some / Option setters). Property: Abbreviation

Source

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

Optional (Some / Option setters). Property: Abbreviation

Source

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

Optional (Some / Option setters). Property: Address

Source

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

Optional (Some / Option setters). Property: Address

Source

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

Optional (Some / Option setters). Property: Address

Source

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

Optional (Some / Option setters). Property: Address

Source

pub fn aleph_url( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetAlephUrl<S>>
where S::AlephUrl: IsUnset,

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

Source

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

Optional (Some / Option setters). Property: Alias

Source

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

Optional (Some / Option setters). Property: Alias

Source

pub fn bright_query_id( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<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>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetBrightQueryOrgId<S>>
where S::BrightQueryOrgId: IsUnset,

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

Source

pub fn bvd_id(self, value: impl Into<String>) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetBvdId<S>>
where S::BvdId: IsUnset,

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

Source

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

Optional (Some / Option setters). Property: Classification

Source

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

Optional (Some / Option setters). Property: Classification

Source

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

Optional (Some / Option setters). Property: Country

Source

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

Optional (Some / Option setters). Property: Country

Source

pub fn created_at( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetCreatedAt<S>>
where S::CreatedAt: IsUnset,

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

Source

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

Optional (Some / Option setters). Property: Description

Source

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

Optional (Some / Option setters). Property: Description

Source

pub fn dissolution_date( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetDissolutionDate<S>>
where S::DissolutionDate: IsUnset,

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

Source

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

Optional (Some / Option setters). Property: DUNS

Source

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

Optional (Some / Option setters). Property: DUNS

Source

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

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

Source

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

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

Source

pub fn icij_id( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetIcijId<S>>
where S::IcijId: IsUnset,

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

Source

pub fn id_number( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetIdNumber<S>>
where S::IdNumber: IsUnset,

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

Source

pub fn incorporation_date( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetIncorporationDate<S>>
where S::IncorporationDate: IsUnset,

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

Source

pub fn index_text( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetIndexText<S>>
where S::IndexText: IsUnset,

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

Source

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

Optional (Some / Option setters). Property: INN

Source

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

Optional (Some / Option setters). Property: INN

Source

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

Optional (Some / Option setters). Property: Jurisdiction

Source

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

Optional (Some / Option setters). Property: Jurisdiction

Source

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

Optional (Some / Option setters). Property: Keywords

Source

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

Optional (Some / Option setters). Property: Keywords

Source

pub fn legal_form( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>, ) -> LegalEntityBuilder<SetLeiCode<S>>
where S::LeiCode: IsUnset,

Optional (Some / Option setters). Property: LEI

Source

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

Optional (Some / Option setters). Property: LEI

Source

pub fn license_number( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetLicenseNumber<S>>
where S::LicenseNumber: IsUnset,

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

Source

pub fn main_country( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetMainCountry<S>>
where S::MainCountry: IsUnset,

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

Source

pub fn modified_at( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetModifiedAt<S>>
where S::ModifiedAt: IsUnset,

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

Source

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

Required.

Property: Name

Source

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

Optional (Some / Option setters). Property: Notes

Source

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

Optional (Some / Option setters). Property: Notes

Source

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

Optional (Some / Option setters). Property: NPI

Source

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

Optional (Some / Option setters). Property: NPI

Source

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

Optional (Some / Option setters). Property: OGRN

Source

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

Optional (Some / Option setters). Property: OGRN

Source

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

Optional (Some / Option setters). Property: OKPO

Source

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

Optional (Some / Option setters). Property: OKPO

Source

pub fn opencorporates_url( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetOpencorporatesUrl<S>>
where S::OpencorporatesUrl: IsUnset,

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

Source

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

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

Source

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

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

Source

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

Optional (Some / Option setters). Property: Phone

Source

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

Optional (Some / Option setters). Property: Phone

Source

pub fn previous_name( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetPreviousName<S>>
where S::PreviousName: IsUnset,

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

Source

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

Optional (Some / Option setters). Property: Program

Source

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

Optional (Some / Option setters). Property: Program

Source

pub fn program_id( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetProgramId<S>>
where S::ProgramId: IsUnset,

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub fn publisher_url( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetPublisherUrl<S>>
where S::PublisherUrl: IsUnset,

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

Source

pub fn registration_number( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetRegistrationNumber<S>>
where S::RegistrationNumber: IsUnset,

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

Source

pub fn retrieved_at( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetRetrievedAt<S>>
where S::RetrievedAt: IsUnset,

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

Source

pub fn sayari_id( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetSayariId<S>>
where S::SayariId: IsUnset,

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

Source

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

Optional (Some / Option setters). Property: Sector

Source

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

Optional (Some / Option setters). Property: Sector

Source

pub fn source_url( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetSourceUrl<S>>
where S::SourceUrl: IsUnset,

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

Source

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

Optional (Some / Option setters). Property: Status

Source

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

Optional (Some / Option setters). Property: Status

Source

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

Optional (Some / Option setters). Property: Summary

Source

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

Optional (Some / Option setters). Property: Summary

Source

pub fn swift_bic( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetSwiftBic<S>>
where S::SwiftBic: IsUnset,

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

Source

pub fn tax_number( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetTaxNumber<S>>
where S::TaxNumber: IsUnset,

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

Source

pub fn tax_status( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetTaxStatus<S>>
where S::TaxStatus: IsUnset,

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

Source

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

Optional (Some / Option setters). Property: Topics

Source

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

Optional (Some / Option setters). Property: Topics

Source

pub fn unique_entity_id( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetUniqueEntityId<S>>
where S::UniqueEntityId: IsUnset,

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

Source

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

Optional (Some / Option setters). Property: USCC

Source

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

Optional (Some / Option setters). Property: USCC

Source

pub fn vat_code( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<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>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetWeakAlias<S>>
where S::WeakAlias: IsUnset,

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

Source

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

Optional (Some / Option setters). Property: Website

Source

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

Optional (Some / Option setters). Property: Website

Source

pub fn wikidata_id( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetWikidataId<S>>
where S::WikidataId: IsUnset,

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

Source

pub fn wikipedia_url( self, value: impl Into<String>, ) -> LegalEntityBuilder<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>>, ) -> LegalEntityBuilder<SetWikipediaUrl<S>>
where S::WikipediaUrl: IsUnset,

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

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