pub struct ProprietaryPrice2 {
pub tp: String,
pub pric: ActiveOrHistoricCurrencyAndAmount,
}Fields§
§tp: String§pric: ActiveOrHistoricCurrencyAndAmountImplementations§
Source§impl ProprietaryPrice2
impl ProprietaryPrice2
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for ProprietaryPrice2
impl Clone for ProprietaryPrice2
Source§fn clone(&self) -> ProprietaryPrice2
fn clone(&self) -> ProprietaryPrice2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProprietaryPrice2
impl Debug for ProprietaryPrice2
Source§impl Default for ProprietaryPrice2
impl Default for ProprietaryPrice2
Source§fn default() -> ProprietaryPrice2
fn default() -> ProprietaryPrice2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProprietaryPrice2
impl<'de> Deserialize<'de> for ProprietaryPrice2
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProprietaryPrice2
impl PartialEq for ProprietaryPrice2
Source§impl Serialize for ProprietaryPrice2
impl Serialize for ProprietaryPrice2
impl StructuralPartialEq for ProprietaryPrice2
Auto Trait Implementations§
impl Freeze for ProprietaryPrice2
impl RefUnwindSafe for ProprietaryPrice2
impl Send for ProprietaryPrice2
impl Sync for ProprietaryPrice2
impl Unpin for ProprietaryPrice2
impl UnwindSafe for ProprietaryPrice2
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