pub struct ContractBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ContractBuilder<S>
impl<S: State> ContractBuilder<S>
Sourcepub fn build(self) -> Contractwhere
S: IsComplete,
pub fn build(self) -> Contractwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn id(self, value: String) -> ContractBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: String) -> ContractBuilder<SetId<S>>where
S::Id: IsUnset,
Required.
Sourcepub fn schema(self, value: String) -> ContractBuilder<SetSchema<S>>where
S::Schema: IsUnset,
pub fn schema(self, value: String) -> ContractBuilder<SetSchema<S>>where
S::Schema: IsUnset,
Sourcepub fn maybe_schema(
self,
value: Option<String>,
) -> ContractBuilder<SetSchema<S>>where
S::Schema: IsUnset,
pub fn maybe_schema(
self,
value: Option<String>,
) -> ContractBuilder<SetSchema<S>>where
S::Schema: IsUnset,
Sourcepub fn address(self, value: impl Into<String>) -> ContractBuilder<SetAddress<S>>where
S::Address: IsUnset,
pub fn address(self, value: impl Into<String>) -> ContractBuilder<SetAddress<S>>where
S::Address: IsUnset,
Sourcepub fn maybe_address(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetAddress<S>>where
S::Address: IsUnset,
pub fn maybe_address(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetAddress<S>>where
S::Address: IsUnset,
Sourcepub fn address_entity(
self,
value: impl Into<String>,
) -> ContractBuilder<SetAddressEntity<S>>where
S::AddressEntity: IsUnset,
pub fn address_entity(
self,
value: impl Into<String>,
) -> ContractBuilder<SetAddressEntity<S>>where
S::AddressEntity: IsUnset,
Sourcepub fn maybe_address_entity(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetAddressEntity<S>>where
S::AddressEntity: IsUnset,
pub fn maybe_address_entity(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetAddressEntity<S>>where
S::AddressEntity: IsUnset,
Sourcepub fn aleph_url(
self,
value: impl Into<String>,
) -> ContractBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
pub fn aleph_url(
self,
value: impl Into<String>,
) -> ContractBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
Sourcepub fn maybe_aleph_url(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
pub fn maybe_aleph_url(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
Sourcepub fn alias(self, value: impl Into<String>) -> ContractBuilder<SetAlias<S>>where
S::Alias: IsUnset,
pub fn alias(self, value: impl Into<String>) -> ContractBuilder<SetAlias<S>>where
S::Alias: IsUnset,
Sourcepub fn maybe_alias(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetAlias<S>>where
S::Alias: IsUnset,
pub fn maybe_alias(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetAlias<S>>where
S::Alias: IsUnset,
Sourcepub fn amount(self, value: f64) -> ContractBuilder<SetAmount<S>>where
S::Amount: IsUnset,
pub fn amount(self, value: f64) -> ContractBuilder<SetAmount<S>>where
S::Amount: IsUnset,
Sourcepub fn maybe_amount(self, value: Option<f64>) -> ContractBuilder<SetAmount<S>>where
S::Amount: IsUnset,
pub fn maybe_amount(self, value: Option<f64>) -> ContractBuilder<SetAmount<S>>where
S::Amount: IsUnset,
Sourcepub fn amount_eur(self, value: f64) -> ContractBuilder<SetAmountEur<S>>where
S::AmountEur: IsUnset,
pub fn amount_eur(self, value: f64) -> ContractBuilder<SetAmountEur<S>>where
S::AmountEur: IsUnset,
Sourcepub fn maybe_amount_eur(
self,
value: Option<f64>,
) -> ContractBuilder<SetAmountEur<S>>where
S::AmountEur: IsUnset,
pub fn maybe_amount_eur(
self,
value: Option<f64>,
) -> ContractBuilder<SetAmountEur<S>>where
S::AmountEur: IsUnset,
Sourcepub fn amount_usd(self, value: f64) -> ContractBuilder<SetAmountUsd<S>>where
S::AmountUsd: IsUnset,
pub fn amount_usd(self, value: f64) -> ContractBuilder<SetAmountUsd<S>>where
S::AmountUsd: IsUnset,
Sourcepub fn maybe_amount_usd(
self,
value: Option<f64>,
) -> ContractBuilder<SetAmountUsd<S>>where
S::AmountUsd: IsUnset,
pub fn maybe_amount_usd(
self,
value: Option<f64>,
) -> ContractBuilder<SetAmountUsd<S>>where
S::AmountUsd: IsUnset,
Sourcepub fn cancelled(
self,
value: impl Into<String>,
) -> ContractBuilder<SetCancelled<S>>where
S::Cancelled: IsUnset,
pub fn cancelled(
self,
value: impl Into<String>,
) -> ContractBuilder<SetCancelled<S>>where
S::Cancelled: IsUnset,
Sourcepub fn maybe_cancelled(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetCancelled<S>>where
S::Cancelled: IsUnset,
pub fn maybe_cancelled(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetCancelled<S>>where
S::Cancelled: IsUnset,
Sourcepub fn classification(
self,
value: impl Into<String>,
) -> ContractBuilder<SetClassification<S>>where
S::Classification: IsUnset,
pub fn classification(
self,
value: impl Into<String>,
) -> ContractBuilder<SetClassification<S>>where
S::Classification: IsUnset,
Sourcepub fn maybe_classification(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetClassification<S>>where
S::Classification: IsUnset,
pub fn maybe_classification(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetClassification<S>>where
S::Classification: IsUnset,
Sourcepub fn contract_date(
self,
value: impl Into<String>,
) -> ContractBuilder<SetContractDate<S>>where
S::ContractDate: IsUnset,
pub fn contract_date(
self,
value: impl Into<String>,
) -> ContractBuilder<SetContractDate<S>>where
S::ContractDate: IsUnset,
Sourcepub fn maybe_contract_date(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetContractDate<S>>where
S::ContractDate: IsUnset,
pub fn maybe_contract_date(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetContractDate<S>>where
S::ContractDate: IsUnset,
Sourcepub fn country(self, value: impl Into<String>) -> ContractBuilder<SetCountry<S>>where
S::Country: IsUnset,
pub fn country(self, value: impl Into<String>) -> ContractBuilder<SetCountry<S>>where
S::Country: IsUnset,
Sourcepub fn maybe_country(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetCountry<S>>where
S::Country: IsUnset,
pub fn maybe_country(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetCountry<S>>where
S::Country: IsUnset,
Sourcepub fn created_at(
self,
value: impl Into<String>,
) -> ContractBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
pub fn created_at(
self,
value: impl Into<String>,
) -> ContractBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
Sourcepub fn maybe_created_at(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
pub fn maybe_created_at(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
Sourcepub fn criteria(
self,
value: impl Into<String>,
) -> ContractBuilder<SetCriteria<S>>where
S::Criteria: IsUnset,
pub fn criteria(
self,
value: impl Into<String>,
) -> ContractBuilder<SetCriteria<S>>where
S::Criteria: IsUnset,
Sourcepub fn maybe_criteria(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetCriteria<S>>where
S::Criteria: IsUnset,
pub fn maybe_criteria(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetCriteria<S>>where
S::Criteria: IsUnset,
Sourcepub fn currency(
self,
value: impl Into<String>,
) -> ContractBuilder<SetCurrency<S>>where
S::Currency: IsUnset,
pub fn currency(
self,
value: impl Into<String>,
) -> ContractBuilder<SetCurrency<S>>where
S::Currency: IsUnset,
Sourcepub fn maybe_currency(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetCurrency<S>>where
S::Currency: IsUnset,
pub fn maybe_currency(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetCurrency<S>>where
S::Currency: IsUnset,
Sourcepub fn description(
self,
value: impl Into<String>,
) -> ContractBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<String>,
) -> ContractBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn maybe_description(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn index_text(
self,
value: impl Into<String>,
) -> ContractBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
pub fn index_text(
self,
value: impl Into<String>,
) -> ContractBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
Sourcepub fn maybe_index_text(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
pub fn maybe_index_text(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
Sourcepub fn keywords(
self,
value: impl Into<String>,
) -> ContractBuilder<SetKeywords<S>>where
S::Keywords: IsUnset,
pub fn keywords(
self,
value: impl Into<String>,
) -> ContractBuilder<SetKeywords<S>>where
S::Keywords: IsUnset,
Sourcepub fn maybe_keywords(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetKeywords<S>>where
S::Keywords: IsUnset,
pub fn maybe_keywords(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetKeywords<S>>where
S::Keywords: IsUnset,
Sourcepub fn language(
self,
value: impl Into<String>,
) -> ContractBuilder<SetLanguage<S>>where
S::Language: IsUnset,
pub fn language(
self,
value: impl Into<String>,
) -> ContractBuilder<SetLanguage<S>>where
S::Language: IsUnset,
Sourcepub fn maybe_language(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetLanguage<S>>where
S::Language: IsUnset,
pub fn maybe_language(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetLanguage<S>>where
S::Language: IsUnset,
Sourcepub fn method(self, value: impl Into<String>) -> ContractBuilder<SetMethod<S>>where
S::Method: IsUnset,
pub fn method(self, value: impl Into<String>) -> ContractBuilder<SetMethod<S>>where
S::Method: IsUnset,
Sourcepub fn maybe_method(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetMethod<S>>where
S::Method: IsUnset,
pub fn maybe_method(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetMethod<S>>where
S::Method: IsUnset,
Sourcepub fn modified_at(
self,
value: impl Into<String>,
) -> ContractBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
pub fn modified_at(
self,
value: impl Into<String>,
) -> ContractBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
Sourcepub fn maybe_modified_at(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
pub fn maybe_modified_at(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
Sourcepub fn name(self, value: impl Into<String>) -> ContractBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(self, value: impl Into<String>) -> ContractBuilder<SetName<S>>where
S::Name: IsUnset,
Required.
Property: Name
Sourcepub fn notes(self, value: impl Into<String>) -> ContractBuilder<SetNotes<S>>where
S::Notes: IsUnset,
pub fn notes(self, value: impl Into<String>) -> ContractBuilder<SetNotes<S>>where
S::Notes: IsUnset,
Sourcepub fn maybe_notes(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetNotes<S>>where
S::Notes: IsUnset,
pub fn maybe_notes(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetNotes<S>>where
S::Notes: IsUnset,
Sourcepub fn notice_id(
self,
value: impl Into<String>,
) -> ContractBuilder<SetNoticeId<S>>where
S::NoticeId: IsUnset,
pub fn notice_id(
self,
value: impl Into<String>,
) -> ContractBuilder<SetNoticeId<S>>where
S::NoticeId: IsUnset,
Sourcepub fn maybe_notice_id(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetNoticeId<S>>where
S::NoticeId: IsUnset,
pub fn maybe_notice_id(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetNoticeId<S>>where
S::NoticeId: IsUnset,
Sourcepub fn number_awards(
self,
value: impl Into<String>,
) -> ContractBuilder<SetNumberAwards<S>>where
S::NumberAwards: IsUnset,
pub fn number_awards(
self,
value: impl Into<String>,
) -> ContractBuilder<SetNumberAwards<S>>where
S::NumberAwards: IsUnset,
Sourcepub fn maybe_number_awards(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetNumberAwards<S>>where
S::NumberAwards: IsUnset,
pub fn maybe_number_awards(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetNumberAwards<S>>where
S::NumberAwards: IsUnset,
Sourcepub fn previous_name(
self,
value: impl Into<String>,
) -> ContractBuilder<SetPreviousName<S>>where
S::PreviousName: IsUnset,
pub fn previous_name(
self,
value: impl Into<String>,
) -> ContractBuilder<SetPreviousName<S>>where
S::PreviousName: IsUnset,
Sourcepub fn maybe_previous_name(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetPreviousName<S>>where
S::PreviousName: IsUnset,
pub fn maybe_previous_name(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetPreviousName<S>>where
S::PreviousName: IsUnset,
Sourcepub fn procedure(
self,
value: impl Into<String>,
) -> ContractBuilder<SetProcedure<S>>where
S::Procedure: IsUnset,
pub fn procedure(
self,
value: impl Into<String>,
) -> ContractBuilder<SetProcedure<S>>where
S::Procedure: IsUnset,
Sourcepub fn maybe_procedure(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProcedure<S>>where
S::Procedure: IsUnset,
pub fn maybe_procedure(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProcedure<S>>where
S::Procedure: IsUnset,
Sourcepub fn procedure_number(
self,
value: impl Into<String>,
) -> ContractBuilder<SetProcedureNumber<S>>where
S::ProcedureNumber: IsUnset,
pub fn procedure_number(
self,
value: impl Into<String>,
) -> ContractBuilder<SetProcedureNumber<S>>where
S::ProcedureNumber: IsUnset,
Sourcepub fn maybe_procedure_number(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProcedureNumber<S>>where
S::ProcedureNumber: IsUnset,
pub fn maybe_procedure_number(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProcedureNumber<S>>where
S::ProcedureNumber: IsUnset,
Sourcepub fn program(self, value: impl Into<String>) -> ContractBuilder<SetProgram<S>>where
S::Program: IsUnset,
pub fn program(self, value: impl Into<String>) -> ContractBuilder<SetProgram<S>>where
S::Program: IsUnset,
Sourcepub fn maybe_program(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProgram<S>>where
S::Program: IsUnset,
pub fn maybe_program(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProgram<S>>where
S::Program: IsUnset,
Sourcepub fn program_id(
self,
value: impl Into<String>,
) -> ContractBuilder<SetProgramId<S>>where
S::ProgramId: IsUnset,
pub fn program_id(
self,
value: impl Into<String>,
) -> ContractBuilder<SetProgramId<S>>where
S::ProgramId: IsUnset,
Sourcepub fn maybe_program_id(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProgramId<S>>where
S::ProgramId: IsUnset,
pub fn maybe_program_id(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProgramId<S>>where
S::ProgramId: IsUnset,
Sourcepub fn project(self, value: impl Into<String>) -> ContractBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(self, value: impl Into<String>) -> ContractBuilder<SetProject<S>>where
S::Project: IsUnset,
Sourcepub fn maybe_project(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProject<S>>where
S::Project: IsUnset,
Sourcepub fn proof(self, value: impl Into<String>) -> ContractBuilder<SetProof<S>>where
S::Proof: IsUnset,
pub fn proof(self, value: impl Into<String>) -> ContractBuilder<SetProof<S>>where
S::Proof: IsUnset,
Sourcepub fn maybe_proof(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProof<S>>where
S::Proof: IsUnset,
pub fn maybe_proof(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetProof<S>>where
S::Proof: IsUnset,
Sourcepub fn publisher(
self,
value: impl Into<String>,
) -> ContractBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
pub fn publisher(
self,
value: impl Into<String>,
) -> ContractBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
Sourcepub fn maybe_publisher(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
pub fn maybe_publisher(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
Sourcepub fn publisher_url(
self,
value: impl Into<String>,
) -> ContractBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
pub fn publisher_url(
self,
value: impl Into<String>,
) -> ContractBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
Sourcepub fn maybe_publisher_url(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
pub fn maybe_publisher_url(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
Sourcepub fn retrieved_at(
self,
value: impl Into<String>,
) -> ContractBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
pub fn retrieved_at(
self,
value: impl Into<String>,
) -> ContractBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
Sourcepub fn maybe_retrieved_at(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
pub fn maybe_retrieved_at(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
Sourcepub fn source_url(
self,
value: impl Into<String>,
) -> ContractBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
pub fn source_url(
self,
value: impl Into<String>,
) -> ContractBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
Sourcepub fn maybe_source_url(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
pub fn maybe_source_url(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
Sourcepub fn status(self, value: impl Into<String>) -> ContractBuilder<SetStatus<S>>where
S::Status: IsUnset,
pub fn status(self, value: impl Into<String>) -> ContractBuilder<SetStatus<S>>where
S::Status: IsUnset,
Sourcepub fn maybe_status(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetStatus<S>>where
S::Status: IsUnset,
pub fn maybe_status(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetStatus<S>>where
S::Status: IsUnset,
Sourcepub fn summary(self, value: impl Into<String>) -> ContractBuilder<SetSummary<S>>where
S::Summary: IsUnset,
pub fn summary(self, value: impl Into<String>) -> ContractBuilder<SetSummary<S>>where
S::Summary: IsUnset,
Sourcepub fn maybe_summary(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetSummary<S>>where
S::Summary: IsUnset,
pub fn maybe_summary(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetSummary<S>>where
S::Summary: IsUnset,
Sourcepub fn title(self, value: impl Into<String>) -> ContractBuilder<SetTitle<S>>where
S::Title: IsUnset,
pub fn title(self, value: impl Into<String>) -> ContractBuilder<SetTitle<S>>where
S::Title: IsUnset,
Required.
Property: Title
Sourcepub fn topics(self, value: impl Into<String>) -> ContractBuilder<SetTopics<S>>where
S::Topics: IsUnset,
pub fn topics(self, value: impl Into<String>) -> ContractBuilder<SetTopics<S>>where
S::Topics: IsUnset,
Sourcepub fn maybe_topics(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetTopics<S>>where
S::Topics: IsUnset,
pub fn maybe_topics(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetTopics<S>>where
S::Topics: IsUnset,
Sourcepub fn type_(self, value: impl Into<String>) -> ContractBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn type_(self, value: impl Into<String>) -> ContractBuilder<SetType<S>>where
S::Type: IsUnset,
Sourcepub fn maybe_type_(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn maybe_type_(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetType<S>>where
S::Type: IsUnset,
Sourcepub fn weak_alias(
self,
value: impl Into<String>,
) -> ContractBuilder<SetWeakAlias<S>>where
S::WeakAlias: IsUnset,
pub fn weak_alias(
self,
value: impl Into<String>,
) -> ContractBuilder<SetWeakAlias<S>>where
S::WeakAlias: IsUnset,
Sourcepub fn maybe_weak_alias(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetWeakAlias<S>>where
S::WeakAlias: IsUnset,
pub fn maybe_weak_alias(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetWeakAlias<S>>where
S::WeakAlias: IsUnset,
Sourcepub fn wikidata_id(
self,
value: impl Into<String>,
) -> ContractBuilder<SetWikidataId<S>>where
S::WikidataId: IsUnset,
pub fn wikidata_id(
self,
value: impl Into<String>,
) -> ContractBuilder<SetWikidataId<S>>where
S::WikidataId: IsUnset,
Sourcepub fn maybe_wikidata_id(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetWikidataId<S>>where
S::WikidataId: IsUnset,
pub fn maybe_wikidata_id(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetWikidataId<S>>where
S::WikidataId: IsUnset,
Sourcepub fn wikipedia_url(
self,
value: impl Into<String>,
) -> ContractBuilder<SetWikipediaUrl<S>>where
S::WikipediaUrl: IsUnset,
pub fn wikipedia_url(
self,
value: impl Into<String>,
) -> ContractBuilder<SetWikipediaUrl<S>>where
S::WikipediaUrl: IsUnset,
Sourcepub fn maybe_wikipedia_url(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetWikipediaUrl<S>>where
S::WikipediaUrl: IsUnset,
pub fn maybe_wikipedia_url(
self,
value: Option<impl Into<String>>,
) -> ContractBuilder<SetWikipediaUrl<S>>where
S::WikipediaUrl: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for ContractBuilder<S>
impl<S> RefUnwindSafe for ContractBuilder<S>
impl<S> Send for ContractBuilder<S>
impl<S> Sync for ContractBuilder<S>
impl<S> Unpin for ContractBuilder<S>
impl<S> UnsafeUnpin for ContractBuilder<S>
impl<S> UnwindSafe for ContractBuilder<S>
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