pub struct ProprietaryQuantity1 {
pub tp: String,
pub qty: String,
}Fields§
§tp: String§qty: StringImplementations§
Source§impl ProprietaryQuantity1
impl ProprietaryQuantity1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for ProprietaryQuantity1
impl Clone for ProprietaryQuantity1
Source§fn clone(&self) -> ProprietaryQuantity1
fn clone(&self) -> ProprietaryQuantity1
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 ProprietaryQuantity1
impl Debug for ProprietaryQuantity1
Source§impl Default for ProprietaryQuantity1
impl Default for ProprietaryQuantity1
Source§fn default() -> ProprietaryQuantity1
fn default() -> ProprietaryQuantity1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProprietaryQuantity1
impl<'de> Deserialize<'de> for ProprietaryQuantity1
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 ProprietaryQuantity1
impl PartialEq for ProprietaryQuantity1
Source§impl Serialize for ProprietaryQuantity1
impl Serialize for ProprietaryQuantity1
impl StructuralPartialEq for ProprietaryQuantity1
Auto Trait Implementations§
impl Freeze for ProprietaryQuantity1
impl RefUnwindSafe for ProprietaryQuantity1
impl Send for ProprietaryQuantity1
impl Sync for ProprietaryQuantity1
impl Unpin for ProprietaryQuantity1
impl UnwindSafe for ProprietaryQuantity1
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