pub struct OfferForPurchase {
Show 63 fields pub accepted_payment_method: Vec<AcceptedPaymentMethodProperty>, pub add_on: Vec<AddOnProperty>, pub advance_booking_requirement: Vec<AdvanceBookingRequirementProperty>, pub aggregate_rating: Vec<AggregateRatingProperty>, pub area_served: Vec<AreaServedProperty>, pub asin: Vec<AsinProperty>, pub availability: Vec<AvailabilityProperty>, pub availability_ends: Vec<AvailabilityEndsProperty>, pub availability_starts: Vec<AvailabilityStartsProperty>, pub available_at_or_from: Vec<AvailableAtOrFromProperty>, pub available_delivery_method: Vec<AvailableDeliveryMethodProperty>, pub business_function: Vec<BusinessFunctionProperty>, pub category: Vec<CategoryProperty>, pub checkout_page_url_template: Vec<CheckoutPageUrlTemplateProperty>, pub delivery_lead_time: Vec<DeliveryLeadTimeProperty>, pub eligible_customer_type: Vec<EligibleCustomerTypeProperty>, pub eligible_duration: Vec<EligibleDurationProperty>, pub eligible_quantity: Vec<EligibleQuantityProperty>, pub eligible_region: Vec<EligibleRegionProperty>, pub eligible_transaction_volume: Vec<EligibleTransactionVolumeProperty>, pub gtin: Vec<GtinProperty>, pub gtin_12: Vec<Gtin12Property>, pub gtin_13: Vec<Gtin13Property>, pub gtin_14: Vec<Gtin14Property>, pub gtin_8: Vec<Gtin8Property>, pub has_adult_consideration: Vec<HasAdultConsiderationProperty>, pub has_measurement: Vec<HasMeasurementProperty>, pub has_merchant_return_policy: Vec<HasMerchantReturnPolicyProperty>, pub includes_object: Vec<IncludesObjectProperty>, pub ineligible_region: Vec<IneligibleRegionProperty>, pub inventory_level: Vec<InventoryLevelProperty>, pub is_family_friendly: Vec<IsFamilyFriendlyProperty>, pub item_condition: Vec<ItemConditionProperty>, pub item_offered: Vec<ItemOfferedProperty>, pub lease_length: Vec<LeaseLengthProperty>, pub mobile_url: Vec<MobileUrlProperty>, pub mpn: Vec<MpnProperty>, pub offered_by: Vec<OfferedByProperty>, pub price: Vec<PriceProperty>, pub price_currency: Vec<PriceCurrencyProperty>, pub price_specification: Vec<PriceSpecificationProperty>, pub price_valid_until: Vec<PriceValidUntilProperty>, pub review: Vec<ReviewProperty>, pub reviews: Vec<ReviewsProperty>, pub seller: Vec<SellerProperty>, pub serial_number: Vec<SerialNumberProperty>, pub shipping_details: Vec<ShippingDetailsProperty>, pub sku: Vec<SkuProperty>, pub valid_from: Vec<ValidFromProperty>, pub valid_through: Vec<ValidThroughProperty>, pub warranty: Vec<WarrantyProperty>, 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>,
}
Expand description

Fields§

§accepted_payment_method: Vec<AcceptedPaymentMethodProperty>§add_on: Vec<AddOnProperty>§advance_booking_requirement: Vec<AdvanceBookingRequirementProperty>§aggregate_rating: Vec<AggregateRatingProperty>§area_served: Vec<AreaServedProperty>§asin: Vec<AsinProperty>§availability: Vec<AvailabilityProperty>§availability_ends: Vec<AvailabilityEndsProperty>§availability_starts: Vec<AvailabilityStartsProperty>§available_at_or_from: Vec<AvailableAtOrFromProperty>§available_delivery_method: Vec<AvailableDeliveryMethodProperty>§business_function: Vec<BusinessFunctionProperty>§category: Vec<CategoryProperty>§checkout_page_url_template: Vec<CheckoutPageUrlTemplateProperty>§delivery_lead_time: Vec<DeliveryLeadTimeProperty>§eligible_customer_type: Vec<EligibleCustomerTypeProperty>§eligible_duration: Vec<EligibleDurationProperty>§eligible_quantity: Vec<EligibleQuantityProperty>§eligible_region: Vec<EligibleRegionProperty>§eligible_transaction_volume: Vec<EligibleTransactionVolumeProperty>§gtin: Vec<GtinProperty>§gtin_12: Vec<Gtin12Property>§gtin_13: Vec<Gtin13Property>§gtin_14: Vec<Gtin14Property>§gtin_8: Vec<Gtin8Property>§has_adult_consideration: Vec<HasAdultConsiderationProperty>§has_measurement: Vec<HasMeasurementProperty>§has_merchant_return_policy: Vec<HasMerchantReturnPolicyProperty>§includes_object: Vec<IncludesObjectProperty>§ineligible_region: Vec<IneligibleRegionProperty>§inventory_level: Vec<InventoryLevelProperty>§is_family_friendly: Vec<IsFamilyFriendlyProperty>§item_condition: Vec<ItemConditionProperty>§item_offered: Vec<ItemOfferedProperty>§lease_length: Vec<LeaseLengthProperty>§mobile_url: Vec<MobileUrlProperty>§mpn: Vec<MpnProperty>§offered_by: Vec<OfferedByProperty>§price: Vec<PriceProperty>§price_currency: Vec<PriceCurrencyProperty>§price_specification: Vec<PriceSpecificationProperty>§price_valid_until: Vec<PriceValidUntilProperty>§review: Vec<ReviewProperty>§reviews: Vec<ReviewsProperty>
👎Deprecated: This schema is superseded by https://schema.org/review.
§seller: Vec<SellerProperty>§serial_number: Vec<SerialNumberProperty>§shipping_details: Vec<ShippingDetailsProperty>§sku: Vec<SkuProperty>§valid_from: Vec<ValidFromProperty>§valid_through: Vec<ValidThroughProperty>§warranty: Vec<WarrantyProperty>§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>

Trait Implementations§

source§

impl OfferTrait for OfferForPurchase

source§

fn get_accepted_payment_method(&self) -> &[AcceptedPaymentMethodProperty]

source§

fn take_accepted_payment_method(&mut self) -> Vec<AcceptedPaymentMethodProperty>

source§

fn get_add_on(&self) -> &[AddOnProperty]

Get https://schema.org/addOn from Self as borrowed slice.
source§

fn take_add_on(&mut self) -> Vec<AddOnProperty>

Take https://schema.org/addOn from Self as owned vector.
source§

fn get_advance_booking_requirement( &self ) -> &[AdvanceBookingRequirementProperty]

source§

fn take_advance_booking_requirement( &mut self ) -> Vec<AdvanceBookingRequirementProperty>

source§

fn get_aggregate_rating(&self) -> &[AggregateRatingProperty]

Get https://schema.org/aggregateRating from Self as borrowed slice.
source§

fn take_aggregate_rating(&mut self) -> Vec<AggregateRatingProperty>

Take https://schema.org/aggregateRating from Self as owned vector.
source§

fn get_area_served(&self) -> &[AreaServedProperty]

Get https://schema.org/areaServed from Self as borrowed slice.
source§

fn take_area_served(&mut self) -> Vec<AreaServedProperty>

Take https://schema.org/areaServed from Self as owned vector.
source§

fn get_asin(&self) -> &[AsinProperty]

Get https://schema.org/asin from Self as borrowed slice.
source§

fn take_asin(&mut self) -> Vec<AsinProperty>

Take https://schema.org/asin from Self as owned vector.
source§

fn get_availability(&self) -> &[AvailabilityProperty]

Get https://schema.org/availability from Self as borrowed slice.
source§

fn take_availability(&mut self) -> Vec<AvailabilityProperty>

Take https://schema.org/availability from Self as owned vector.
source§

fn get_availability_ends(&self) -> &[AvailabilityEndsProperty]

Get https://schema.org/availabilityEnds from Self as borrowed slice.
source§

fn take_availability_ends(&mut self) -> Vec<AvailabilityEndsProperty>

Take https://schema.org/availabilityEnds from Self as owned vector.
source§

fn get_availability_starts(&self) -> &[AvailabilityStartsProperty]

Get https://schema.org/availabilityStarts from Self as borrowed slice.
source§

fn take_availability_starts(&mut self) -> Vec<AvailabilityStartsProperty>

Take https://schema.org/availabilityStarts from Self as owned vector.
source§

fn get_available_at_or_from(&self) -> &[AvailableAtOrFromProperty]

Get https://schema.org/availableAtOrFrom from Self as borrowed slice.
source§

fn take_available_at_or_from(&mut self) -> Vec<AvailableAtOrFromProperty>

Take https://schema.org/availableAtOrFrom from Self as owned vector.
source§

fn get_available_delivery_method(&self) -> &[AvailableDeliveryMethodProperty]

source§

fn take_available_delivery_method( &mut self ) -> Vec<AvailableDeliveryMethodProperty>

source§

fn get_business_function(&self) -> &[BusinessFunctionProperty]

Get https://schema.org/businessFunction from Self as borrowed slice.
source§

fn take_business_function(&mut self) -> Vec<BusinessFunctionProperty>

Take https://schema.org/businessFunction from Self as owned vector.
source§

fn get_category(&self) -> &[CategoryProperty]

Get https://schema.org/category from Self as borrowed slice.
source§

fn take_category(&mut self) -> Vec<CategoryProperty>

Take https://schema.org/category from Self as owned vector.
source§

fn get_checkout_page_url_template(&self) -> &[CheckoutPageUrlTemplateProperty]

source§

fn take_checkout_page_url_template( &mut self ) -> Vec<CheckoutPageUrlTemplateProperty>

source§

fn get_delivery_lead_time(&self) -> &[DeliveryLeadTimeProperty]

Get https://schema.org/deliveryLeadTime from Self as borrowed slice.
source§

fn take_delivery_lead_time(&mut self) -> Vec<DeliveryLeadTimeProperty>

Take https://schema.org/deliveryLeadTime from Self as owned vector.
source§

fn get_eligible_customer_type(&self) -> &[EligibleCustomerTypeProperty]

Get https://schema.org/eligibleCustomerType from Self as borrowed slice.
source§

fn take_eligible_customer_type(&mut self) -> Vec<EligibleCustomerTypeProperty>

source§

fn get_eligible_duration(&self) -> &[EligibleDurationProperty]

Get https://schema.org/eligibleDuration from Self as borrowed slice.
source§

fn take_eligible_duration(&mut self) -> Vec<EligibleDurationProperty>

Take https://schema.org/eligibleDuration from Self as owned vector.
source§

fn get_eligible_quantity(&self) -> &[EligibleQuantityProperty]

Get https://schema.org/eligibleQuantity from Self as borrowed slice.
source§

fn take_eligible_quantity(&mut self) -> Vec<EligibleQuantityProperty>

Take https://schema.org/eligibleQuantity from Self as owned vector.
source§

fn get_eligible_region(&self) -> &[EligibleRegionProperty]

Get https://schema.org/eligibleRegion from Self as borrowed slice.
source§

fn take_eligible_region(&mut self) -> Vec<EligibleRegionProperty>

Take https://schema.org/eligibleRegion from Self as owned vector.
source§

fn get_eligible_transaction_volume( &self ) -> &[EligibleTransactionVolumeProperty]

source§

fn take_eligible_transaction_volume( &mut self ) -> Vec<EligibleTransactionVolumeProperty>

source§

fn get_gtin(&self) -> &[GtinProperty]

Get https://schema.org/gtin from Self as borrowed slice.
source§

fn take_gtin(&mut self) -> Vec<GtinProperty>

Take https://schema.org/gtin from Self as owned vector.
source§

fn get_gtin_12(&self) -> &[Gtin12Property]

Get https://schema.org/gtin12 from Self as borrowed slice.
source§

fn take_gtin_12(&mut self) -> Vec<Gtin12Property>

Take https://schema.org/gtin12 from Self as owned vector.
source§

fn get_gtin_13(&self) -> &[Gtin13Property]

Get https://schema.org/gtin13 from Self as borrowed slice.
source§

fn take_gtin_13(&mut self) -> Vec<Gtin13Property>

Take https://schema.org/gtin13 from Self as owned vector.
source§

fn get_gtin_14(&self) -> &[Gtin14Property]

Get https://schema.org/gtin14 from Self as borrowed slice.
source§

fn take_gtin_14(&mut self) -> Vec<Gtin14Property>

Take https://schema.org/gtin14 from Self as owned vector.
source§

fn get_gtin_8(&self) -> &[Gtin8Property]

Get https://schema.org/gtin8 from Self as borrowed slice.
source§

fn take_gtin_8(&mut self) -> Vec<Gtin8Property>

Take https://schema.org/gtin8 from Self as owned vector.
source§

fn get_has_adult_consideration(&self) -> &[HasAdultConsiderationProperty]

source§

fn take_has_adult_consideration(&mut self) -> Vec<HasAdultConsiderationProperty>

source§

fn get_has_measurement(&self) -> &[HasMeasurementProperty]

Get https://schema.org/hasMeasurement from Self as borrowed slice.
source§

fn take_has_measurement(&mut self) -> Vec<HasMeasurementProperty>

Take https://schema.org/hasMeasurement from Self as owned vector.
source§

fn get_has_merchant_return_policy(&self) -> &[HasMerchantReturnPolicyProperty]

source§

fn take_has_merchant_return_policy( &mut self ) -> Vec<HasMerchantReturnPolicyProperty>

source§

fn get_includes_object(&self) -> &[IncludesObjectProperty]

Get https://schema.org/includesObject from Self as borrowed slice.
source§

fn take_includes_object(&mut self) -> Vec<IncludesObjectProperty>

Take https://schema.org/includesObject from Self as owned vector.
source§

fn get_ineligible_region(&self) -> &[IneligibleRegionProperty]

Get https://schema.org/ineligibleRegion from Self as borrowed slice.
source§

fn take_ineligible_region(&mut self) -> Vec<IneligibleRegionProperty>

Take https://schema.org/ineligibleRegion from Self as owned vector.
source§

fn get_inventory_level(&self) -> &[InventoryLevelProperty]

Get https://schema.org/inventoryLevel from Self as borrowed slice.
source§

fn take_inventory_level(&mut self) -> Vec<InventoryLevelProperty>

Take https://schema.org/inventoryLevel from Self as owned vector.
source§

fn get_is_family_friendly(&self) -> &[IsFamilyFriendlyProperty]

Get https://schema.org/isFamilyFriendly from Self as borrowed slice.
source§

fn take_is_family_friendly(&mut self) -> Vec<IsFamilyFriendlyProperty>

Take https://schema.org/isFamilyFriendly from Self as owned vector.
source§

fn get_item_condition(&self) -> &[ItemConditionProperty]

Get https://schema.org/itemCondition from Self as borrowed slice.
source§

fn take_item_condition(&mut self) -> Vec<ItemConditionProperty>

Take https://schema.org/itemCondition from Self as owned vector.
source§

fn get_item_offered(&self) -> &[ItemOfferedProperty]

Get https://schema.org/itemOffered from Self as borrowed slice.
source§

fn take_item_offered(&mut self) -> Vec<ItemOfferedProperty>

Take https://schema.org/itemOffered from Self as owned vector.
source§

fn get_lease_length(&self) -> &[LeaseLengthProperty]

Get https://schema.org/leaseLength from Self as borrowed slice.
source§

fn take_lease_length(&mut self) -> Vec<LeaseLengthProperty>

Take https://schema.org/leaseLength from Self as owned vector.
source§

fn get_mobile_url(&self) -> &[MobileUrlProperty]

Get https://schema.org/mobileUrl from Self as borrowed slice.
source§

fn take_mobile_url(&mut self) -> Vec<MobileUrlProperty>

Take https://schema.org/mobileUrl from Self as owned vector.
source§

fn get_mpn(&self) -> &[MpnProperty]

Get https://schema.org/mpn from Self as borrowed slice.
source§

fn take_mpn(&mut self) -> Vec<MpnProperty>

Take https://schema.org/mpn from Self as owned vector.
source§

fn get_offered_by(&self) -> &[OfferedByProperty]

Get https://schema.org/offeredBy from Self as borrowed slice.
source§

fn take_offered_by(&mut self) -> Vec<OfferedByProperty>

Take https://schema.org/offeredBy from Self as owned vector.
source§

fn get_price(&self) -> &[PriceProperty]

Get https://schema.org/price from Self as borrowed slice.
source§

fn take_price(&mut self) -> Vec<PriceProperty>

Take https://schema.org/price from Self as owned vector.
source§

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>

Take https://schema.org/priceCurrency from Self as owned vector.
source§

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>

Take https://schema.org/priceSpecification from Self as owned vector.
source§

fn get_price_valid_until(&self) -> &[PriceValidUntilProperty]

Get https://schema.org/priceValidUntil from Self as borrowed slice.
source§

fn take_price_valid_until(&mut self) -> Vec<PriceValidUntilProperty>

Take https://schema.org/priceValidUntil from Self as owned vector.
source§

fn get_review(&self) -> &[ReviewProperty]

Get https://schema.org/review from Self as borrowed slice.
source§

fn take_review(&mut self) -> Vec<ReviewProperty>

Take https://schema.org/review from Self as owned vector.
source§

fn get_reviews(&self) -> &[ReviewsProperty]

👎Deprecated: This schema is superseded by https://schema.org/review.
Get https://schema.org/reviews from Self as borrowed slice.
source§

fn take_reviews(&mut self) -> Vec<ReviewsProperty>

👎Deprecated: This schema is superseded by https://schema.org/review.
Take https://schema.org/reviews from Self as owned vector.
source§

fn get_seller(&self) -> &[SellerProperty]

Get https://schema.org/seller from Self as borrowed slice.
source§

fn take_seller(&mut self) -> Vec<SellerProperty>

Take https://schema.org/seller from Self as owned vector.
source§

fn get_serial_number(&self) -> &[SerialNumberProperty]

Get https://schema.org/serialNumber from Self as borrowed slice.
source§

fn take_serial_number(&mut self) -> Vec<SerialNumberProperty>

Take https://schema.org/serialNumber from Self as owned vector.
source§

fn get_shipping_details(&self) -> &[ShippingDetailsProperty]

Get https://schema.org/shippingDetails from Self as borrowed slice.
source§

fn take_shipping_details(&mut self) -> Vec<ShippingDetailsProperty>

Take https://schema.org/shippingDetails from Self as owned vector.
source§

fn get_sku(&self) -> &[SkuProperty]

Get https://schema.org/sku from Self as borrowed slice.
source§

fn take_sku(&mut self) -> Vec<SkuProperty>

Take https://schema.org/sku from Self as owned vector.
source§

fn get_valid_from(&self) -> &[ValidFromProperty]

Get https://schema.org/validFrom from Self as borrowed slice.
source§

fn take_valid_from(&mut self) -> Vec<ValidFromProperty>

Take https://schema.org/validFrom from Self as owned vector.
source§

fn get_valid_through(&self) -> &[ValidThroughProperty]

Get https://schema.org/validThrough from Self as borrowed slice.
source§

fn take_valid_through(&mut self) -> Vec<ValidThroughProperty>

Take https://schema.org/validThrough from Self as owned vector.
source§

fn get_warranty(&self) -> &[WarrantyProperty]

Get https://schema.org/warranty from Self as borrowed slice.
source§

fn take_warranty(&mut self) -> Vec<WarrantyProperty>

Take https://schema.org/warranty from Self as owned vector.
source§

impl ThingTrait for OfferForPurchase

source§

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>

Take https://schema.org/additionalType from Self as owned vector.
source§

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>

Take https://schema.org/alternateName from Self as owned vector.
source§

fn get_description(&self) -> &[DescriptionProperty]

Get https://schema.org/description from Self as borrowed slice.
source§

fn take_description(&mut self) -> Vec<DescriptionProperty>

Take https://schema.org/description from Self as owned vector.
source§

fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]

source§

fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>

source§

fn get_identifier(&self) -> &[IdentifierProperty]

Get https://schema.org/identifier from Self as borrowed slice.
source§

fn take_identifier(&mut self) -> Vec<IdentifierProperty>

Take https://schema.org/identifier from Self as owned vector.
source§

fn get_image(&self) -> &[ImageProperty]

Get https://schema.org/image from Self as borrowed slice.
source§

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]

Get https://schema.org/mainEntityOfPage from Self as borrowed slice.
source§

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]

Get https://schema.org/name from Self as borrowed slice.
source§

fn take_name(&mut self) -> Vec<NameProperty>

Take https://schema.org/name from Self as owned vector.
source§

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>

Take https://schema.org/potentialAction from Self as owned vector.
source§

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>

Take https://schema.org/sameAs from Self as owned vector.
source§

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>

Take https://schema.org/subjectOf from Self as owned vector.
source§

fn get_url(&self) -> &[UrlProperty]

Get https://schema.org/url from Self as borrowed slice.
source§

fn take_url(&mut self) -> Vec<UrlProperty>

Take https://schema.org/url from Self as owned vector.
source§

impl OfferForPurchaseTrait for OfferForPurchase

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.