Struct rust_tdlib::types::LabeledPricePart
source · [−]pub struct LabeledPricePart { /* private fields */ }Expand description
Portion of the price of a product (e.g., “delivery cost”, “tax amount”)
Implementations
Trait Implementations
sourceimpl AsRef<LabeledPricePart> for LabeledPricePart
impl AsRef<LabeledPricePart> for LabeledPricePart
sourcefn as_ref(&self) -> &LabeledPricePart
fn as_ref(&self) -> &LabeledPricePart
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for LabeledPricePart
impl Clone for LabeledPricePart
sourcefn clone(&self) -> LabeledPricePart
fn clone(&self) -> LabeledPricePart
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LabeledPricePart
impl Debug for LabeledPricePart
sourceimpl Default for LabeledPricePart
impl Default for LabeledPricePart
sourcefn default() -> LabeledPricePart
fn default() -> LabeledPricePart
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LabeledPricePart
impl<'de> Deserialize<'de> for LabeledPricePart
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for LabeledPricePart
impl Serialize for LabeledPricePart
Auto Trait Implementations
impl RefUnwindSafe for LabeledPricePart
impl Send for LabeledPricePart
impl Sync for LabeledPricePart
impl Unpin for LabeledPricePart
impl UnwindSafe for LabeledPricePart
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more