Struct schema_org_types::SellAction
source · pub struct SellAction {Show 29 fields
pub buyer: Vec<BuyerProperty>,
pub warranty_promise: Vec<WarrantyPromiseProperty>,
pub action_status: Vec<ActionStatusProperty>,
pub agent: Vec<AgentProperty>,
pub end_time: Vec<EndTimeProperty>,
pub error: Vec<ErrorProperty>,
pub instrument: Vec<InstrumentProperty>,
pub location: Vec<LocationProperty>,
pub object: Vec<ObjectProperty>,
pub participant: Vec<ParticipantProperty>,
pub provider: Vec<ProviderProperty>,
pub result: Vec<ResultProperty>,
pub start_time: Vec<StartTimeProperty>,
pub target: Vec<TargetProperty>,
pub additional_type: Vec<AdditionalTypeProperty>,
pub alternate_name: Vec<AlternateNameProperty>,
pub description: Vec<DescriptionProperty>,
pub disambiguating_description: Vec<DisambiguatingDescriptionProperty>,
pub identifier: Vec<IdentifierProperty>,
pub image: Vec<ImageProperty>,
pub main_entity_of_page: Vec<MainEntityOfPageProperty>,
pub name: Vec<NameProperty>,
pub potential_action: Vec<PotentialActionProperty>,
pub same_as: Vec<SameAsProperty>,
pub subject_of: Vec<SubjectOfProperty>,
pub url: Vec<UrlProperty>,
pub price: Vec<PriceProperty>,
pub price_currency: Vec<PriceCurrencyProperty>,
pub price_specification: Vec<PriceSpecificationProperty>,
}
Expand description
Fields§
§buyer: Vec<BuyerProperty>
§warranty_promise: Vec<WarrantyPromiseProperty>
👎Deprecated: This schema is superseded by https://schema.org/warranty.
§action_status: Vec<ActionStatusProperty>
§agent: Vec<AgentProperty>
§end_time: Vec<EndTimeProperty>
§error: Vec<ErrorProperty>
§instrument: Vec<InstrumentProperty>
§location: Vec<LocationProperty>
§object: Vec<ObjectProperty>
§participant: Vec<ParticipantProperty>
§provider: Vec<ProviderProperty>
§result: Vec<ResultProperty>
§start_time: Vec<StartTimeProperty>
§target: Vec<TargetProperty>
§additional_type: Vec<AdditionalTypeProperty>
§alternate_name: Vec<AlternateNameProperty>
§description: Vec<DescriptionProperty>
§disambiguating_description: Vec<DisambiguatingDescriptionProperty>
§identifier: Vec<IdentifierProperty>
§image: Vec<ImageProperty>
§main_entity_of_page: Vec<MainEntityOfPageProperty>
§name: Vec<NameProperty>
§potential_action: Vec<PotentialActionProperty>
§same_as: Vec<SameAsProperty>
§subject_of: Vec<SubjectOfProperty>
§url: Vec<UrlProperty>
§price: Vec<PriceProperty>
§price_currency: Vec<PriceCurrencyProperty>
§price_specification: Vec<PriceSpecificationProperty>
Trait Implementations§
source§impl ActionTrait for SellAction
impl ActionTrait for SellAction
source§fn get_action_status(&self) -> &[ActionStatusProperty]
fn get_action_status(&self) -> &[ActionStatusProperty]
Get https://schema.org/actionStatus from
Self
as borrowed slice.source§fn take_action_status(&mut self) -> Vec<ActionStatusProperty>
fn take_action_status(&mut self) -> Vec<ActionStatusProperty>
Take https://schema.org/actionStatus from
Self
as owned vector.source§fn get_agent(&self) -> &[AgentProperty]
fn get_agent(&self) -> &[AgentProperty]
Get https://schema.org/agent from
Self
as borrowed slice.source§fn take_agent(&mut self) -> Vec<AgentProperty>
fn take_agent(&mut self) -> Vec<AgentProperty>
Take https://schema.org/agent from
Self
as owned vector.source§fn get_end_time(&self) -> &[EndTimeProperty]
fn get_end_time(&self) -> &[EndTimeProperty]
Get https://schema.org/endTime from
Self
as borrowed slice.source§fn take_end_time(&mut self) -> Vec<EndTimeProperty>
fn take_end_time(&mut self) -> Vec<EndTimeProperty>
Take https://schema.org/endTime from
Self
as owned vector.source§fn get_error(&self) -> &[ErrorProperty]
fn get_error(&self) -> &[ErrorProperty]
Get https://schema.org/error from
Self
as borrowed slice.source§fn take_error(&mut self) -> Vec<ErrorProperty>
fn take_error(&mut self) -> Vec<ErrorProperty>
Take https://schema.org/error from
Self
as owned vector.source§fn get_instrument(&self) -> &[InstrumentProperty]
fn get_instrument(&self) -> &[InstrumentProperty]
Get https://schema.org/instrument from
Self
as borrowed slice.source§fn take_instrument(&mut self) -> Vec<InstrumentProperty>
fn take_instrument(&mut self) -> Vec<InstrumentProperty>
Take https://schema.org/instrument from
Self
as owned vector.source§fn get_location(&self) -> &[LocationProperty]
fn get_location(&self) -> &[LocationProperty]
Get https://schema.org/location from
Self
as borrowed slice.source§fn take_location(&mut self) -> Vec<LocationProperty>
fn take_location(&mut self) -> Vec<LocationProperty>
Take https://schema.org/location from
Self
as owned vector.source§fn get_object(&self) -> &[ObjectProperty]
fn get_object(&self) -> &[ObjectProperty]
Get https://schema.org/object from
Self
as borrowed slice.source§fn take_object(&mut self) -> Vec<ObjectProperty>
fn take_object(&mut self) -> Vec<ObjectProperty>
Take https://schema.org/object from
Self
as owned vector.source§fn get_participant(&self) -> &[ParticipantProperty]
fn get_participant(&self) -> &[ParticipantProperty]
Get https://schema.org/participant from
Self
as borrowed slice.source§fn take_participant(&mut self) -> Vec<ParticipantProperty>
fn take_participant(&mut self) -> Vec<ParticipantProperty>
Take https://schema.org/participant from
Self
as owned vector.source§fn get_provider(&self) -> &[ProviderProperty]
fn get_provider(&self) -> &[ProviderProperty]
Get https://schema.org/provider from
Self
as borrowed slice.source§fn take_provider(&mut self) -> Vec<ProviderProperty>
fn take_provider(&mut self) -> Vec<ProviderProperty>
Take https://schema.org/provider from
Self
as owned vector.source§fn get_result(&self) -> &[ResultProperty]
fn get_result(&self) -> &[ResultProperty]
Get https://schema.org/result from
Self
as borrowed slice.source§fn take_result(&mut self) -> Vec<ResultProperty>
fn take_result(&mut self) -> Vec<ResultProperty>
Take https://schema.org/result from
Self
as owned vector.source§fn get_start_time(&self) -> &[StartTimeProperty]
fn get_start_time(&self) -> &[StartTimeProperty]
Get https://schema.org/startTime from
Self
as borrowed slice.source§fn take_start_time(&mut self) -> Vec<StartTimeProperty>
fn take_start_time(&mut self) -> Vec<StartTimeProperty>
Take https://schema.org/startTime from
Self
as owned vector.source§fn get_target(&self) -> &[TargetProperty]
fn get_target(&self) -> &[TargetProperty]
Get https://schema.org/target from
Self
as borrowed slice.source§fn take_target(&mut self) -> Vec<TargetProperty>
fn take_target(&mut self) -> Vec<TargetProperty>
Take https://schema.org/target from
Self
as owned vector.source§impl SellActionTrait for SellAction
impl SellActionTrait for SellAction
source§fn get_buyer(&self) -> &[BuyerProperty]
fn get_buyer(&self) -> &[BuyerProperty]
Get https://schema.org/buyer from
Self
as borrowed slice.source§fn take_buyer(&mut self) -> Vec<BuyerProperty>
fn take_buyer(&mut self) -> Vec<BuyerProperty>
Take https://schema.org/buyer from
Self
as owned vector.source§fn get_warranty_promise(&self) -> &[WarrantyPromiseProperty]
fn get_warranty_promise(&self) -> &[WarrantyPromiseProperty]
👎Deprecated: This schema is superseded by https://schema.org/warranty.
Get https://schema.org/warrantyPromise from
Self
as borrowed slice.source§fn take_warranty_promise(&mut self) -> Vec<WarrantyPromiseProperty>
fn take_warranty_promise(&mut self) -> Vec<WarrantyPromiseProperty>
👎Deprecated: This schema is superseded by https://schema.org/warranty.
Take https://schema.org/warrantyPromise from
Self
as owned vector.source§impl ThingTrait for SellAction
impl ThingTrait for SellAction
source§fn get_additional_type(&self) -> &[AdditionalTypeProperty]
fn get_additional_type(&self) -> &[AdditionalTypeProperty]
Get https://schema.org/additionalType from
Self
as borrowed slice.source§fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
Take https://schema.org/additionalType from
Self
as owned vector.source§fn get_alternate_name(&self) -> &[AlternateNameProperty]
fn get_alternate_name(&self) -> &[AlternateNameProperty]
Get https://schema.org/alternateName from
Self
as borrowed slice.source§fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
Take https://schema.org/alternateName from
Self
as owned vector.source§fn get_description(&self) -> &[DescriptionProperty]
fn get_description(&self) -> &[DescriptionProperty]
Get https://schema.org/description from
Self
as borrowed slice.source§fn take_description(&mut self) -> Vec<DescriptionProperty>
fn take_description(&mut self) -> Vec<DescriptionProperty>
Take https://schema.org/description from
Self
as owned vector.source§fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
Get https://schema.org/disambiguatingDescription from
Self
as borrowed slice.source§fn take_disambiguating_description(
&mut self
) -> Vec<DisambiguatingDescriptionProperty>
fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>
Take https://schema.org/disambiguatingDescription from
Self
as owned vector.source§fn get_identifier(&self) -> &[IdentifierProperty]
fn get_identifier(&self) -> &[IdentifierProperty]
Get https://schema.org/identifier from
Self
as borrowed slice.source§fn take_identifier(&mut self) -> Vec<IdentifierProperty>
fn take_identifier(&mut self) -> Vec<IdentifierProperty>
Take https://schema.org/identifier from
Self
as owned vector.source§fn get_image(&self) -> &[ImageProperty]
fn get_image(&self) -> &[ImageProperty]
Get https://schema.org/image from
Self
as borrowed slice.source§fn take_image(&mut self) -> Vec<ImageProperty>
fn take_image(&mut self) -> Vec<ImageProperty>
Take https://schema.org/image from
Self
as owned vector.source§fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
Get https://schema.org/mainEntityOfPage from
Self
as borrowed slice.source§fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
Take https://schema.org/mainEntityOfPage from
Self
as owned vector.source§fn get_name(&self) -> &[NameProperty]
fn get_name(&self) -> &[NameProperty]
Get https://schema.org/name from
Self
as borrowed slice.source§fn take_name(&mut self) -> Vec<NameProperty>
fn take_name(&mut self) -> Vec<NameProperty>
Take https://schema.org/name from
Self
as owned vector.source§fn get_potential_action(&self) -> &[PotentialActionProperty]
fn get_potential_action(&self) -> &[PotentialActionProperty]
Get https://schema.org/potentialAction from
Self
as borrowed slice.source§fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
Take https://schema.org/potentialAction from
Self
as owned vector.source§fn get_same_as(&self) -> &[SameAsProperty]
fn get_same_as(&self) -> &[SameAsProperty]
Get https://schema.org/sameAs from
Self
as borrowed slice.source§fn take_same_as(&mut self) -> Vec<SameAsProperty>
fn take_same_as(&mut self) -> Vec<SameAsProperty>
Take https://schema.org/sameAs from
Self
as owned vector.source§fn get_subject_of(&self) -> &[SubjectOfProperty]
fn get_subject_of(&self) -> &[SubjectOfProperty]
Get https://schema.org/subjectOf from
Self
as borrowed slice.source§fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
Take https://schema.org/subjectOf from
Self
as owned vector.source§fn get_url(&self) -> &[UrlProperty]
fn get_url(&self) -> &[UrlProperty]
Get https://schema.org/url from
Self
as borrowed slice.source§fn take_url(&mut self) -> Vec<UrlProperty>
fn take_url(&mut self) -> Vec<UrlProperty>
Take https://schema.org/url from
Self
as owned vector.source§impl TradeActionTrait for SellAction
impl TradeActionTrait for SellAction
source§fn get_price(&self) -> &[PriceProperty]
fn get_price(&self) -> &[PriceProperty]
Get https://schema.org/price from
Self
as borrowed slice.source§fn take_price(&mut self) -> Vec<PriceProperty>
fn take_price(&mut self) -> Vec<PriceProperty>
Take https://schema.org/price from
Self
as owned vector.source§fn get_price_currency(&self) -> &[PriceCurrencyProperty]
fn get_price_currency(&self) -> &[PriceCurrencyProperty]
Get https://schema.org/priceCurrency from
Self
as borrowed slice.source§fn take_price_currency(&mut self) -> Vec<PriceCurrencyProperty>
fn take_price_currency(&mut self) -> Vec<PriceCurrencyProperty>
Take https://schema.org/priceCurrency from
Self
as owned vector.source§fn get_price_specification(&self) -> &[PriceSpecificationProperty]
fn get_price_specification(&self) -> &[PriceSpecificationProperty]
Get https://schema.org/priceSpecification from
Self
as borrowed slice.source§fn take_price_specification(&mut self) -> Vec<PriceSpecificationProperty>
fn take_price_specification(&mut self) -> Vec<PriceSpecificationProperty>
Take https://schema.org/priceSpecification from
Self
as owned vector.Auto Trait Implementations§
impl RefUnwindSafe for SellAction
impl Send for SellAction
impl Sync for SellAction
impl Unpin for SellAction
impl UnwindSafe for SellAction
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