pub struct EventBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> EventBuilder<S>
impl<S: State> EventBuilder<S>
Sourcepub fn build(self) -> Eventwhere
S: IsComplete,
pub fn build(self) -> Eventwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn id(self, value: String) -> EventBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: String) -> EventBuilder<SetId<S>>where
S::Id: IsUnset,
Required.
Sourcepub fn schema(self, value: String) -> EventBuilder<SetSchema<S>>where
S::Schema: IsUnset,
pub fn schema(self, value: String) -> EventBuilder<SetSchema<S>>where
S::Schema: IsUnset,
Sourcepub fn maybe_schema(self, value: Option<String>) -> EventBuilder<SetSchema<S>>where
S::Schema: IsUnset,
pub fn maybe_schema(self, value: Option<String>) -> EventBuilder<SetSchema<S>>where
S::Schema: IsUnset,
Sourcepub fn address(self, value: impl Into<String>) -> EventBuilder<SetAddress<S>>where
S::Address: IsUnset,
pub fn address(self, value: impl Into<String>) -> EventBuilder<SetAddress<S>>where
S::Address: IsUnset,
Sourcepub fn maybe_address(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetAddress<S>>where
S::Address: IsUnset,
pub fn maybe_address(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetAddress<S>>where
S::Address: IsUnset,
Sourcepub fn address_entity(
self,
value: impl Into<String>,
) -> EventBuilder<SetAddressEntity<S>>where
S::AddressEntity: IsUnset,
pub fn address_entity(
self,
value: impl Into<String>,
) -> EventBuilder<SetAddressEntity<S>>where
S::AddressEntity: IsUnset,
Sourcepub fn maybe_address_entity(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetAddressEntity<S>>where
S::AddressEntity: IsUnset,
pub fn maybe_address_entity(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetAddressEntity<S>>where
S::AddressEntity: IsUnset,
Sourcepub fn aleph_url(self, value: impl Into<String>) -> EventBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
pub fn aleph_url(self, value: impl Into<String>) -> EventBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
Sourcepub fn maybe_aleph_url(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
pub fn maybe_aleph_url(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetAlephUrl<S>>where
S::AlephUrl: IsUnset,
Sourcepub fn alias(self, value: impl Into<String>) -> EventBuilder<SetAlias<S>>where
S::Alias: IsUnset,
pub fn alias(self, value: impl Into<String>) -> EventBuilder<SetAlias<S>>where
S::Alias: IsUnset,
Sourcepub fn maybe_alias(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetAlias<S>>where
S::Alias: IsUnset,
pub fn maybe_alias(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetAlias<S>>where
S::Alias: IsUnset,
Sourcepub fn companies_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetCompaniesMentioned<S>>where
S::CompaniesMentioned: IsUnset,
pub fn companies_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetCompaniesMentioned<S>>where
S::CompaniesMentioned: IsUnset,
Sourcepub fn maybe_companies_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetCompaniesMentioned<S>>where
S::CompaniesMentioned: IsUnset,
pub fn maybe_companies_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetCompaniesMentioned<S>>where
S::CompaniesMentioned: IsUnset,
Sourcepub fn country(self, value: impl Into<String>) -> EventBuilder<SetCountry<S>>where
S::Country: IsUnset,
pub fn country(self, value: impl Into<String>) -> EventBuilder<SetCountry<S>>where
S::Country: IsUnset,
Sourcepub fn maybe_country(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetCountry<S>>where
S::Country: IsUnset,
pub fn maybe_country(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetCountry<S>>where
S::Country: IsUnset,
Sourcepub fn created_at(
self,
value: impl Into<String>,
) -> EventBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
pub fn created_at(
self,
value: impl Into<String>,
) -> EventBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
Sourcepub fn maybe_created_at(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
pub fn maybe_created_at(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
Sourcepub fn date(self, value: impl Into<String>) -> EventBuilder<SetDate<S>>where
S::Date: IsUnset,
pub fn date(self, value: impl Into<String>) -> EventBuilder<SetDate<S>>where
S::Date: IsUnset,
Sourcepub fn maybe_date(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetDate<S>>where
S::Date: IsUnset,
pub fn maybe_date(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetDate<S>>where
S::Date: IsUnset,
Sourcepub fn description(
self,
value: impl Into<String>,
) -> EventBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<String>,
) -> EventBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn maybe_description(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn detected_country(
self,
value: impl Into<String>,
) -> EventBuilder<SetDetectedCountry<S>>where
S::DetectedCountry: IsUnset,
pub fn detected_country(
self,
value: impl Into<String>,
) -> EventBuilder<SetDetectedCountry<S>>where
S::DetectedCountry: IsUnset,
Sourcepub fn maybe_detected_country(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetDetectedCountry<S>>where
S::DetectedCountry: IsUnset,
pub fn maybe_detected_country(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetDetectedCountry<S>>where
S::DetectedCountry: IsUnset,
Sourcepub fn detected_language(
self,
value: impl Into<String>,
) -> EventBuilder<SetDetectedLanguage<S>>where
S::DetectedLanguage: IsUnset,
pub fn detected_language(
self,
value: impl Into<String>,
) -> EventBuilder<SetDetectedLanguage<S>>where
S::DetectedLanguage: IsUnset,
Sourcepub fn maybe_detected_language(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetDetectedLanguage<S>>where
S::DetectedLanguage: IsUnset,
pub fn maybe_detected_language(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetDetectedLanguage<S>>where
S::DetectedLanguage: IsUnset,
Sourcepub fn email_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetEmailMentioned<S>>where
S::EmailMentioned: IsUnset,
pub fn email_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetEmailMentioned<S>>where
S::EmailMentioned: IsUnset,
Sourcepub fn maybe_email_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetEmailMentioned<S>>where
S::EmailMentioned: IsUnset,
pub fn maybe_email_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetEmailMentioned<S>>where
S::EmailMentioned: IsUnset,
Sourcepub fn end_date(self, value: impl Into<String>) -> EventBuilder<SetEndDate<S>>where
S::EndDate: IsUnset,
pub fn end_date(self, value: impl Into<String>) -> EventBuilder<SetEndDate<S>>where
S::EndDate: IsUnset,
Sourcepub fn maybe_end_date(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetEndDate<S>>where
S::EndDate: IsUnset,
pub fn maybe_end_date(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetEndDate<S>>where
S::EndDate: IsUnset,
Sourcepub fn iban_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetIbanMentioned<S>>where
S::IbanMentioned: IsUnset,
pub fn iban_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetIbanMentioned<S>>where
S::IbanMentioned: IsUnset,
Sourcepub fn maybe_iban_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetIbanMentioned<S>>where
S::IbanMentioned: IsUnset,
pub fn maybe_iban_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetIbanMentioned<S>>where
S::IbanMentioned: IsUnset,
Sourcepub fn important(
self,
value: impl Into<String>,
) -> EventBuilder<SetImportant<S>>where
S::Important: IsUnset,
pub fn important(
self,
value: impl Into<String>,
) -> EventBuilder<SetImportant<S>>where
S::Important: IsUnset,
Sourcepub fn maybe_important(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetImportant<S>>where
S::Important: IsUnset,
pub fn maybe_important(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetImportant<S>>where
S::Important: IsUnset,
Sourcepub fn index_text(
self,
value: impl Into<String>,
) -> EventBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
pub fn index_text(
self,
value: impl Into<String>,
) -> EventBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
Sourcepub fn maybe_index_text(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
pub fn maybe_index_text(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetIndexText<S>>where
S::IndexText: IsUnset,
Sourcepub fn involved(self, value: impl Into<String>) -> EventBuilder<SetInvolved<S>>where
S::Involved: IsUnset,
pub fn involved(self, value: impl Into<String>) -> EventBuilder<SetInvolved<S>>where
S::Involved: IsUnset,
Sourcepub fn maybe_involved(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetInvolved<S>>where
S::Involved: IsUnset,
pub fn maybe_involved(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetInvolved<S>>where
S::Involved: IsUnset,
Sourcepub fn ip_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetIpMentioned<S>>where
S::IpMentioned: IsUnset,
pub fn ip_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetIpMentioned<S>>where
S::IpMentioned: IsUnset,
Sourcepub fn maybe_ip_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetIpMentioned<S>>where
S::IpMentioned: IsUnset,
pub fn maybe_ip_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetIpMentioned<S>>where
S::IpMentioned: IsUnset,
Sourcepub fn keywords(self, value: impl Into<String>) -> EventBuilder<SetKeywords<S>>where
S::Keywords: IsUnset,
pub fn keywords(self, value: impl Into<String>) -> EventBuilder<SetKeywords<S>>where
S::Keywords: IsUnset,
Sourcepub fn maybe_keywords(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetKeywords<S>>where
S::Keywords: IsUnset,
pub fn maybe_keywords(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetKeywords<S>>where
S::Keywords: IsUnset,
Sourcepub fn location(self, value: impl Into<String>) -> EventBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(self, value: impl Into<String>) -> EventBuilder<SetLocation<S>>where
S::Location: IsUnset,
Sourcepub fn maybe_location(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetLocation<S>>where
S::Location: IsUnset,
Sourcepub fn location_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetLocationMentioned<S>>where
S::LocationMentioned: IsUnset,
pub fn location_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetLocationMentioned<S>>where
S::LocationMentioned: IsUnset,
Sourcepub fn maybe_location_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetLocationMentioned<S>>where
S::LocationMentioned: IsUnset,
pub fn maybe_location_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetLocationMentioned<S>>where
S::LocationMentioned: IsUnset,
Sourcepub fn modified_at(
self,
value: impl Into<String>,
) -> EventBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
pub fn modified_at(
self,
value: impl Into<String>,
) -> EventBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
Sourcepub fn maybe_modified_at(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
pub fn maybe_modified_at(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetModifiedAt<S>>where
S::ModifiedAt: IsUnset,
Sourcepub fn name(self, value: impl Into<String>) -> EventBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(self, value: impl Into<String>) -> EventBuilder<SetName<S>>where
S::Name: IsUnset,
Required.
Property: Name
Sourcepub fn names_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetNamesMentioned<S>>where
S::NamesMentioned: IsUnset,
pub fn names_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetNamesMentioned<S>>where
S::NamesMentioned: IsUnset,
Sourcepub fn maybe_names_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetNamesMentioned<S>>where
S::NamesMentioned: IsUnset,
pub fn maybe_names_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetNamesMentioned<S>>where
S::NamesMentioned: IsUnset,
Sourcepub fn notes(self, value: impl Into<String>) -> EventBuilder<SetNotes<S>>where
S::Notes: IsUnset,
pub fn notes(self, value: impl Into<String>) -> EventBuilder<SetNotes<S>>where
S::Notes: IsUnset,
Sourcepub fn maybe_notes(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetNotes<S>>where
S::Notes: IsUnset,
pub fn maybe_notes(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetNotes<S>>where
S::Notes: IsUnset,
Sourcepub fn organizer(
self,
value: impl Into<String>,
) -> EventBuilder<SetOrganizer<S>>where
S::Organizer: IsUnset,
pub fn organizer(
self,
value: impl Into<String>,
) -> EventBuilder<SetOrganizer<S>>where
S::Organizer: IsUnset,
Sourcepub fn maybe_organizer(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetOrganizer<S>>where
S::Organizer: IsUnset,
pub fn maybe_organizer(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetOrganizer<S>>where
S::Organizer: IsUnset,
Sourcepub fn people_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetPeopleMentioned<S>>where
S::PeopleMentioned: IsUnset,
pub fn people_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetPeopleMentioned<S>>where
S::PeopleMentioned: IsUnset,
Sourcepub fn maybe_people_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetPeopleMentioned<S>>where
S::PeopleMentioned: IsUnset,
pub fn maybe_people_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetPeopleMentioned<S>>where
S::PeopleMentioned: IsUnset,
Sourcepub fn phone_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetPhoneMentioned<S>>where
S::PhoneMentioned: IsUnset,
pub fn phone_mentioned(
self,
value: impl Into<String>,
) -> EventBuilder<SetPhoneMentioned<S>>where
S::PhoneMentioned: IsUnset,
Sourcepub fn maybe_phone_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetPhoneMentioned<S>>where
S::PhoneMentioned: IsUnset,
pub fn maybe_phone_mentioned(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetPhoneMentioned<S>>where
S::PhoneMentioned: IsUnset,
Sourcepub fn previous_name(
self,
value: impl Into<String>,
) -> EventBuilder<SetPreviousName<S>>where
S::PreviousName: IsUnset,
pub fn previous_name(
self,
value: impl Into<String>,
) -> EventBuilder<SetPreviousName<S>>where
S::PreviousName: IsUnset,
Sourcepub fn maybe_previous_name(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetPreviousName<S>>where
S::PreviousName: IsUnset,
pub fn maybe_previous_name(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetPreviousName<S>>where
S::PreviousName: IsUnset,
Sourcepub fn program(self, value: impl Into<String>) -> EventBuilder<SetProgram<S>>where
S::Program: IsUnset,
pub fn program(self, value: impl Into<String>) -> EventBuilder<SetProgram<S>>where
S::Program: IsUnset,
Sourcepub fn maybe_program(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetProgram<S>>where
S::Program: IsUnset,
pub fn maybe_program(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetProgram<S>>where
S::Program: IsUnset,
Sourcepub fn program_id(
self,
value: impl Into<String>,
) -> EventBuilder<SetProgramId<S>>where
S::ProgramId: IsUnset,
pub fn program_id(
self,
value: impl Into<String>,
) -> EventBuilder<SetProgramId<S>>where
S::ProgramId: IsUnset,
Sourcepub fn maybe_program_id(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetProgramId<S>>where
S::ProgramId: IsUnset,
pub fn maybe_program_id(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetProgramId<S>>where
S::ProgramId: IsUnset,
Sourcepub fn proof(self, value: impl Into<String>) -> EventBuilder<SetProof<S>>where
S::Proof: IsUnset,
pub fn proof(self, value: impl Into<String>) -> EventBuilder<SetProof<S>>where
S::Proof: IsUnset,
Sourcepub fn maybe_proof(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetProof<S>>where
S::Proof: IsUnset,
pub fn maybe_proof(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetProof<S>>where
S::Proof: IsUnset,
Sourcepub fn publisher(
self,
value: impl Into<String>,
) -> EventBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
pub fn publisher(
self,
value: impl Into<String>,
) -> EventBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
Sourcepub fn maybe_publisher(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
pub fn maybe_publisher(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
Sourcepub fn publisher_url(
self,
value: impl Into<String>,
) -> EventBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
pub fn publisher_url(
self,
value: impl Into<String>,
) -> EventBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
Sourcepub fn maybe_publisher_url(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
pub fn maybe_publisher_url(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetPublisherUrl<S>>where
S::PublisherUrl: IsUnset,
Sourcepub fn record_id(self, value: impl Into<String>) -> EventBuilder<SetRecordId<S>>where
S::RecordId: IsUnset,
pub fn record_id(self, value: impl Into<String>) -> EventBuilder<SetRecordId<S>>where
S::RecordId: IsUnset,
Sourcepub fn maybe_record_id(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetRecordId<S>>where
S::RecordId: IsUnset,
pub fn maybe_record_id(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetRecordId<S>>where
S::RecordId: IsUnset,
Sourcepub fn retrieved_at(
self,
value: impl Into<String>,
) -> EventBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
pub fn retrieved_at(
self,
value: impl Into<String>,
) -> EventBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
Sourcepub fn maybe_retrieved_at(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
pub fn maybe_retrieved_at(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetRetrievedAt<S>>where
S::RetrievedAt: IsUnset,
Sourcepub fn source_url(
self,
value: impl Into<String>,
) -> EventBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
pub fn source_url(
self,
value: impl Into<String>,
) -> EventBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
Sourcepub fn maybe_source_url(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
pub fn maybe_source_url(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetSourceUrl<S>>where
S::SourceUrl: IsUnset,
Sourcepub fn start_date(
self,
value: impl Into<String>,
) -> EventBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
pub fn start_date(
self,
value: impl Into<String>,
) -> EventBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
Sourcepub fn maybe_start_date(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
pub fn maybe_start_date(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
Sourcepub fn summary(self, value: impl Into<String>) -> EventBuilder<SetSummary<S>>where
S::Summary: IsUnset,
pub fn summary(self, value: impl Into<String>) -> EventBuilder<SetSummary<S>>where
S::Summary: IsUnset,
Sourcepub fn maybe_summary(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetSummary<S>>where
S::Summary: IsUnset,
pub fn maybe_summary(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetSummary<S>>where
S::Summary: IsUnset,
Sourcepub fn topics(self, value: impl Into<String>) -> EventBuilder<SetTopics<S>>where
S::Topics: IsUnset,
pub fn topics(self, value: impl Into<String>) -> EventBuilder<SetTopics<S>>where
S::Topics: IsUnset,
Sourcepub fn maybe_topics(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetTopics<S>>where
S::Topics: IsUnset,
pub fn maybe_topics(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetTopics<S>>where
S::Topics: IsUnset,
Sourcepub fn weak_alias(
self,
value: impl Into<String>,
) -> EventBuilder<SetWeakAlias<S>>where
S::WeakAlias: IsUnset,
pub fn weak_alias(
self,
value: impl Into<String>,
) -> EventBuilder<SetWeakAlias<S>>where
S::WeakAlias: IsUnset,
Sourcepub fn maybe_weak_alias(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetWeakAlias<S>>where
S::WeakAlias: IsUnset,
pub fn maybe_weak_alias(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetWeakAlias<S>>where
S::WeakAlias: IsUnset,
Sourcepub fn wikidata_id(
self,
value: impl Into<String>,
) -> EventBuilder<SetWikidataId<S>>where
S::WikidataId: IsUnset,
pub fn wikidata_id(
self,
value: impl Into<String>,
) -> EventBuilder<SetWikidataId<S>>where
S::WikidataId: IsUnset,
Sourcepub fn maybe_wikidata_id(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetWikidataId<S>>where
S::WikidataId: IsUnset,
pub fn maybe_wikidata_id(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetWikidataId<S>>where
S::WikidataId: IsUnset,
Sourcepub fn wikipedia_url(
self,
value: impl Into<String>,
) -> EventBuilder<SetWikipediaUrl<S>>where
S::WikipediaUrl: IsUnset,
pub fn wikipedia_url(
self,
value: impl Into<String>,
) -> EventBuilder<SetWikipediaUrl<S>>where
S::WikipediaUrl: IsUnset,
Sourcepub fn maybe_wikipedia_url(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetWikipediaUrl<S>>where
S::WikipediaUrl: IsUnset,
pub fn maybe_wikipedia_url(
self,
value: Option<impl Into<String>>,
) -> EventBuilder<SetWikipediaUrl<S>>where
S::WikipediaUrl: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for EventBuilder<S>
impl<S> RefUnwindSafe for EventBuilder<S>
impl<S> Send for EventBuilder<S>
impl<S> Sync for EventBuilder<S>
impl<S> Unpin for EventBuilder<S>
impl<S> UnsafeUnpin for EventBuilder<S>
impl<S> UnwindSafe for EventBuilder<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