pub enum PredefinedPackageDimensions {
Show 50 variants
FedExBox10kg,
FedExBox25kg,
FedExBoxExtraLarge1,
FedExBoxExtraLarge2,
FedExBoxLarge1,
FedExBoxLarge2,
FedExBoxMedium1,
FedExBoxMedium2,
FedExBoxSmall1,
FedExBoxSmall2,
FedExEnvelope,
FedExPaddedPak,
FedExPak1,
FedExPak2,
FedExTube,
FedExXlPak,
UpsBox10kg,
UpsBox25kg,
UpsExpressBox,
UpsExpressBoxLarge,
UpsExpressBoxMedium,
UpsExpressBoxSmall,
UpsExpressEnvelope,
UpsExpressHardPak,
UpsExpressLegalEnvelope,
UpsExpressPak,
UpsExpressTube,
UpsLaboratoryPak,
UpsPadPak,
UpsPallet,
UspsCard,
UspsFlat,
UspsFlatRateCardboardEnvelope,
UspsFlatRateEnvelope,
UspsFlatRateGiftCardEnvelope,
UspsFlatRateLegalEnvelope,
UspsFlatRatePaddedEnvelope,
UspsFlatRateWindowEnvelope,
UspsLargeFlatRateBoardGameBox,
UspsLargeFlatRateBox,
UspsLetter,
UspsMediumFlatRateBox1,
UspsMediumFlatRateBox2,
UspsRegionalRateBoxA1,
UspsRegionalRateBoxA2,
UspsRegionalRateBoxB1,
UspsRegionalRateBoxB2,
UspsRegionalRateBoxC,
UspsSmallFlatRateBox,
UspsSmallFlatRateEnvelope,
}Expand description
PredefinedPackageDimensions : An enumeration of predefined parcel tokens. If you specify a PredefinedPackageDimensions token, you are not obligated to use a branded package from a carrier. For example, if you specify the FedEx_Box_10kg token, you do not have to use that particular package from FedEx. You are only obligated to use a box that matches the dimensions specified by the token. Note: Carriers can have restrictions on the type of package allowed for certain ship methods. Check the carrier website for details. Example: Flat rate pricing is available when materials are sent by USPS in a USPS-produced Flat Rate envelope or box.
An enumeration of predefined parcel tokens. If you specify a PredefinedPackageDimensions token, you are not obligated to use a branded package from a carrier. For example, if you specify the FedEx_Box_10kg token, you do not have to use that particular package from FedEx. You are only obligated to use a box that matches the dimensions specified by the token. Note: Carriers can have restrictions on the type of package allowed for certain ship methods. Check the carrier website for details. Example: Flat rate pricing is available when materials are sent by USPS in a USPS-produced Flat Rate envelope or box.
Variants§
FedExBox10kg
FedExBox25kg
FedExBoxExtraLarge1
FedExBoxExtraLarge2
FedExBoxLarge1
FedExBoxLarge2
FedExBoxMedium1
FedExBoxMedium2
FedExBoxSmall1
FedExBoxSmall2
FedExEnvelope
FedExPaddedPak
FedExPak1
FedExPak2
FedExTube
FedExXlPak
UpsBox10kg
UpsBox25kg
UpsExpressBox
UpsExpressBoxLarge
UpsExpressBoxMedium
UpsExpressBoxSmall
UpsExpressEnvelope
UpsExpressHardPak
UpsExpressLegalEnvelope
UpsExpressPak
UpsExpressTube
UpsLaboratoryPak
UpsPadPak
UpsPallet
UspsCard
UspsFlat
UspsFlatRateCardboardEnvelope
UspsFlatRateEnvelope
UspsFlatRateGiftCardEnvelope
UspsFlatRateLegalEnvelope
UspsFlatRatePaddedEnvelope
UspsFlatRateWindowEnvelope
UspsLargeFlatRateBoardGameBox
UspsLargeFlatRateBox
UspsLetter
UspsMediumFlatRateBox1
UspsMediumFlatRateBox2
UspsRegionalRateBoxA1
UspsRegionalRateBoxA2
UspsRegionalRateBoxB1
UspsRegionalRateBoxB2
UspsRegionalRateBoxC
UspsSmallFlatRateBox
UspsSmallFlatRateEnvelope
Trait Implementations§
Source§impl Clone for PredefinedPackageDimensions
impl Clone for PredefinedPackageDimensions
Source§fn clone(&self) -> PredefinedPackageDimensions
fn clone(&self) -> PredefinedPackageDimensions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PredefinedPackageDimensions
impl Debug for PredefinedPackageDimensions
Source§impl Default for PredefinedPackageDimensions
impl Default for PredefinedPackageDimensions
Source§fn default() -> PredefinedPackageDimensions
fn default() -> PredefinedPackageDimensions
Source§impl<'de> Deserialize<'de> for PredefinedPackageDimensions
impl<'de> Deserialize<'de> for PredefinedPackageDimensions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Hash for PredefinedPackageDimensions
impl Hash for PredefinedPackageDimensions
Source§impl Ord for PredefinedPackageDimensions
impl Ord for PredefinedPackageDimensions
Source§fn cmp(&self, other: &PredefinedPackageDimensions) -> Ordering
fn cmp(&self, other: &PredefinedPackageDimensions) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for PredefinedPackageDimensions
impl PartialOrd for PredefinedPackageDimensions
impl Copy for PredefinedPackageDimensions
impl Eq for PredefinedPackageDimensions
impl StructuralPartialEq for PredefinedPackageDimensions
Auto Trait Implementations§
impl Freeze for PredefinedPackageDimensions
impl RefUnwindSafe for PredefinedPackageDimensions
impl Send for PredefinedPackageDimensions
impl Sync for PredefinedPackageDimensions
impl Unpin for PredefinedPackageDimensions
impl UnwindSafe for PredefinedPackageDimensions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.