pub struct AttrVWithScheme<T, S = CodingScheme> {
pub v: T,
pub coding_scheme: S,
}Expand description
Wrapper for elements whose value is in a v attribute and that have
an additional codingScheme attribute:
<SenderIdentification v="4045399000008" codingScheme="A10"/>Used for market participant IDs (SenderIdentification,
ReceiverIdentification, ResourceProvider) and control zone references
(ConnectingArea, AcquiringArea) in the attr-v document family.
Fields§
§v: TThe element value.
coding_scheme: SThe coding scheme qualifier.
Implementations§
Source§impl<T, S> AttrVWithScheme<T, S>
impl<T, S> AttrVWithScheme<T, S>
Trait Implementations§
Source§impl<T: Clone, S: Clone> Clone for AttrVWithScheme<T, S>
impl<T: Clone, S: Clone> Clone for AttrVWithScheme<T, S>
Source§fn clone(&self) -> AttrVWithScheme<T, S>
fn clone(&self) -> AttrVWithScheme<T, S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de, T, S> Deserialize<'de> for AttrVWithScheme<T, S>where
T: Deserialize<'de>,
S: Deserialize<'de>,
impl<'de, T, S> Deserialize<'de> for AttrVWithScheme<T, S>where
T: Deserialize<'de>,
S: Deserialize<'de>,
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
impl<T: Eq, S: Eq> Eq for AttrVWithScheme<T, S>
Source§impl<T: PartialEq, S: PartialEq> PartialEq for AttrVWithScheme<T, S>
impl<T: PartialEq, S: PartialEq> PartialEq for AttrVWithScheme<T, S>
Source§fn eq(&self, other: &AttrVWithScheme<T, S>) -> bool
fn eq(&self, other: &AttrVWithScheme<T, S>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<T, S> Serialize for AttrVWithScheme<T, S>
impl<T, S> Serialize for AttrVWithScheme<T, S>
impl<T: PartialEq, S: PartialEq> StructuralPartialEq for AttrVWithScheme<T, S>
Auto Trait Implementations§
impl<T, S> Freeze for AttrVWithScheme<T, S>
impl<T, S> RefUnwindSafe for AttrVWithScheme<T, S>where
T: RefUnwindSafe,
S: RefUnwindSafe,
impl<T, S> Send for AttrVWithScheme<T, S>
impl<T, S> Sync for AttrVWithScheme<T, S>
impl<T, S> Unpin for AttrVWithScheme<T, S>
impl<T, S> UnsafeUnpin for AttrVWithScheme<T, S>where
T: UnsafeUnpin,
S: UnsafeUnpin,
impl<T, S> UnwindSafe for AttrVWithScheme<T, S>where
T: UnwindSafe,
S: UnwindSafe,
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