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