pub struct ContractAwardBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ContractAwardBuilder<S>
impl<S: State> ContractAwardBuilder<S>
Sourcepub fn build(self) -> ContractAwardwhere
S: IsComplete,
pub fn build(self) -> ContractAwardwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn id(self, value: String) -> ContractAwardBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: String) -> ContractAwardBuilder<SetId<S>>where
S::Id: IsUnset,
Required.
Sourcepub fn schema(self, value: String) -> ContractAwardBuilder<SetSchema<S>>where
S::Schema: IsUnset,
pub fn schema(self, value: String) -> ContractAwardBuilder<SetSchema<S>>where
S::Schema: IsUnset,
Sourcepub fn maybe_schema(
self,
value: Option<String>,
) -> ContractAwardBuilder<SetSchema<S>>where
S::Schema: IsUnset,
pub fn maybe_schema(
self,
value: Option<String>,
) -> ContractAwardBuilder<SetSchema<S>>where
S::Schema: IsUnset,
Sourcepub fn aleph_url(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
pub fn aleph_url(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
Sourcepub fn maybe_aleph_url(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
pub fn maybe_aleph_url(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
Sourcepub fn amended(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetAmended<S>>where
S::Amended: IsUnset,
pub fn amended(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetAmended<S>>where
S::Amended: IsUnset,
Sourcepub fn maybe_amended(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetAmended<S>>where
S::Amended: IsUnset,
pub fn maybe_amended(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetAmended<S>>where
S::Amended: IsUnset,
Sourcepub fn amount(self, value: f64) -> ContractAwardBuilder<SetAmount<S>>where
S::Amount: IsUnset,
pub fn amount(self, value: f64) -> ContractAwardBuilder<SetAmount<S>>where
S::Amount: IsUnset,
Sourcepub fn maybe_amount(
self,
value: Option<f64>,
) -> ContractAwardBuilder<SetAmount<S>>where
S::Amount: IsUnset,
pub fn maybe_amount(
self,
value: Option<f64>,
) -> ContractAwardBuilder<SetAmount<S>>where
S::Amount: IsUnset,
Sourcepub fn amount_eur(self, value: f64) -> ContractAwardBuilder<SetAmountEur<S>>where
S::AmountEur: IsUnset,
pub fn amount_eur(self, value: f64) -> ContractAwardBuilder<SetAmountEur<S>>where
S::AmountEur: IsUnset,
Sourcepub fn maybe_amount_eur(
self,
value: Option<f64>,
) -> ContractAwardBuilder<SetAmountEur<S>>where
S::AmountEur: IsUnset,
pub fn maybe_amount_eur(
self,
value: Option<f64>,
) -> ContractAwardBuilder<SetAmountEur<S>>where
S::AmountEur: IsUnset,
Sourcepub fn amount_usd(self, value: f64) -> ContractAwardBuilder<SetAmountUsd<S>>where
S::AmountUsd: IsUnset,
pub fn amount_usd(self, value: f64) -> ContractAwardBuilder<SetAmountUsd<S>>where
S::AmountUsd: IsUnset,
Sourcepub fn maybe_amount_usd(
self,
value: Option<f64>,
) -> ContractAwardBuilder<SetAmountUsd<S>>where
S::AmountUsd: IsUnset,
pub fn maybe_amount_usd(
self,
value: Option<f64>,
) -> ContractAwardBuilder<SetAmountUsd<S>>where
S::AmountUsd: IsUnset,
Sourcepub fn call_for_tenders(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetCallForTenders<S>>where
S::CallForTenders: IsUnset,
pub fn call_for_tenders(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetCallForTenders<S>>where
S::CallForTenders: IsUnset,
Sourcepub fn maybe_call_for_tenders(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetCallForTenders<S>>where
S::CallForTenders: IsUnset,
pub fn maybe_call_for_tenders(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetCallForTenders<S>>where
S::CallForTenders: IsUnset,
Sourcepub fn contract(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetContract<S>>where
S::Contract: IsUnset,
pub fn contract(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetContract<S>>where
S::Contract: IsUnset,
Required.
Property: Contract
Sourcepub fn cpv_code(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetCpvCode<S>>where
S::CpvCode: IsUnset,
pub fn cpv_code(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetCpvCode<S>>where
S::CpvCode: IsUnset,
Sourcepub fn maybe_cpv_code(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetCpvCode<S>>where
S::CpvCode: IsUnset,
pub fn maybe_cpv_code(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetCpvCode<S>>where
S::CpvCode: IsUnset,
Sourcepub fn currency(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetCurrency<S>>where
S::Currency: IsUnset,
pub fn currency(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetCurrency<S>>where
S::Currency: IsUnset,
Sourcepub fn maybe_currency(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetCurrency<S>>where
S::Currency: IsUnset,
pub fn maybe_currency(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetCurrency<S>>where
S::Currency: IsUnset,
Sourcepub fn date(self, value: impl Into<String>) -> ContractAwardBuilder<SetDate<S>>where
S::Date: IsUnset,
pub fn date(self, value: impl Into<String>) -> ContractAwardBuilder<SetDate<S>>where
S::Date: IsUnset,
Sourcepub fn maybe_date(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetDate<S>>where
S::Date: IsUnset,
pub fn maybe_date(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetDate<S>>where
S::Date: IsUnset,
Sourcepub fn decision_reason(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetDecisionReason<S>>where
S::DecisionReason: IsUnset,
pub fn decision_reason(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetDecisionReason<S>>where
S::DecisionReason: IsUnset,
Sourcepub fn maybe_decision_reason(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetDecisionReason<S>>where
S::DecisionReason: IsUnset,
pub fn maybe_decision_reason(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetDecisionReason<S>>where
S::DecisionReason: IsUnset,
Sourcepub fn description(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn maybe_description(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn document_number(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetDocumentNumber<S>>where
S::DocumentNumber: IsUnset,
pub fn document_number(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetDocumentNumber<S>>where
S::DocumentNumber: IsUnset,
Sourcepub fn maybe_document_number(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetDocumentNumber<S>>where
S::DocumentNumber: IsUnset,
pub fn maybe_document_number(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetDocumentNumber<S>>where
S::DocumentNumber: IsUnset,
Sourcepub fn document_type(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetDocumentType<S>>where
S::DocumentType: IsUnset,
pub fn document_type(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetDocumentType<S>>where
S::DocumentType: IsUnset,
Sourcepub fn maybe_document_type(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetDocumentType<S>>where
S::DocumentType: IsUnset,
pub fn maybe_document_type(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetDocumentType<S>>where
S::DocumentType: IsUnset,
Sourcepub fn end_date(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetEndDate<S>>where
S::EndDate: IsUnset,
pub fn end_date(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetEndDate<S>>where
S::EndDate: IsUnset,
Sourcepub fn maybe_end_date(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetEndDate<S>>where
S::EndDate: IsUnset,
pub fn maybe_end_date(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetEndDate<S>>where
S::EndDate: IsUnset,
Sourcepub fn index_text(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
pub fn index_text(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
Sourcepub fn maybe_index_text(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
pub fn maybe_index_text(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
Sourcepub fn lot_number(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetLotNumber<S>>where
S::LotNumber: IsUnset,
pub fn lot_number(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetLotNumber<S>>where
S::LotNumber: IsUnset,
Sourcepub fn maybe_lot_number(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetLotNumber<S>>where
S::LotNumber: IsUnset,
pub fn maybe_lot_number(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetLotNumber<S>>where
S::LotNumber: IsUnset,
Sourcepub fn modified_at(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
pub fn modified_at(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
Sourcepub fn maybe_modified_at(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
pub fn maybe_modified_at(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
Sourcepub fn names_mentioned(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetNamesMentioned<S>>where
S::NamesMentioned: IsUnset,
pub fn names_mentioned(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetNamesMentioned<S>>where
S::NamesMentioned: IsUnset,
Sourcepub fn maybe_names_mentioned(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetNamesMentioned<S>>where
S::NamesMentioned: IsUnset,
pub fn maybe_names_mentioned(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetNamesMentioned<S>>where
S::NamesMentioned: IsUnset,
Sourcepub fn nuts_code(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetNutsCode<S>>where
S::NutsCode: IsUnset,
pub fn nuts_code(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetNutsCode<S>>where
S::NutsCode: IsUnset,
Sourcepub fn maybe_nuts_code(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetNutsCode<S>>where
S::NutsCode: IsUnset,
pub fn maybe_nuts_code(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetNutsCode<S>>where
S::NutsCode: IsUnset,
Sourcepub fn proof(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetProof<S>>where
S::Proof: IsUnset,
pub fn proof(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetProof<S>>where
S::Proof: IsUnset,
Sourcepub fn maybe_proof(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetProof<S>>where
S::Proof: IsUnset,
pub fn maybe_proof(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetProof<S>>where
S::Proof: IsUnset,
Sourcepub fn publisher(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
pub fn publisher(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
Sourcepub fn maybe_publisher(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
pub fn maybe_publisher(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
Sourcepub fn publisher_url(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
pub fn publisher_url(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
Sourcepub fn maybe_publisher_url(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
pub fn maybe_publisher_url(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
Sourcepub fn record_id(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetRecordId<S>>where
S::RecordId: IsUnset,
pub fn record_id(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetRecordId<S>>where
S::RecordId: IsUnset,
Sourcepub fn maybe_record_id(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetRecordId<S>>where
S::RecordId: IsUnset,
pub fn maybe_record_id(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetRecordId<S>>where
S::RecordId: IsUnset,
Sourcepub fn retrieved_at(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
pub fn retrieved_at(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
Sourcepub fn maybe_retrieved_at(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
pub fn maybe_retrieved_at(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
Sourcepub fn role(self, value: impl Into<String>) -> ContractAwardBuilder<SetRole<S>>where
S::Role: IsUnset,
pub fn role(self, value: impl Into<String>) -> ContractAwardBuilder<SetRole<S>>where
S::Role: IsUnset,
Sourcepub fn maybe_role(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetRole<S>>where
S::Role: IsUnset,
pub fn maybe_role(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetRole<S>>where
S::Role: IsUnset,
Sourcepub fn source_url(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
pub fn source_url(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
Sourcepub fn maybe_source_url(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
pub fn maybe_source_url(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
Sourcepub fn start_date(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
pub fn start_date(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
Sourcepub fn maybe_start_date(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
pub fn maybe_start_date(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
Sourcepub fn status(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetStatus<S>>where
S::Status: IsUnset,
pub fn status(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetStatus<S>>where
S::Status: IsUnset,
Sourcepub fn maybe_status(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetStatus<S>>where
S::Status: IsUnset,
pub fn maybe_status(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetStatus<S>>where
S::Status: IsUnset,
Sourcepub fn summary(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetSummary<S>>where
S::Summary: IsUnset,
pub fn summary(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetSummary<S>>where
S::Summary: IsUnset,
Sourcepub fn maybe_summary(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetSummary<S>>where
S::Summary: IsUnset,
pub fn maybe_summary(
self,
value: Option<impl Into<String>>,
) -> ContractAwardBuilder<SetSummary<S>>where
S::Summary: IsUnset,
Sourcepub fn supplier(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetSupplier<S>>where
S::Supplier: IsUnset,
pub fn supplier(
self,
value: impl Into<String>,
) -> ContractAwardBuilder<SetSupplier<S>>where
S::Supplier: IsUnset,
Required.
Property: Supplier
Auto Trait Implementations§
impl<S> Freeze for ContractAwardBuilder<S>
impl<S> RefUnwindSafe for ContractAwardBuilder<S>
impl<S> Send for ContractAwardBuilder<S>
impl<S> Sync for ContractAwardBuilder<S>
impl<S> Unpin for ContractAwardBuilder<S>
impl<S> UnsafeUnpin for ContractAwardBuilder<S>
impl<S> UnwindSafe for ContractAwardBuilder<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