pub struct InterchangeObjectFields {
pub instance_uid: UlBytes,
pub generation_uid: Option<UlBytes>,
pub object_class: Option<UlBytes>,
}Expand description
The two Interchange Object (Annex A.1) properties with a static local tag, common to every Root Metadata Set.
Fields§
§instance_uid: UlBytesInstance UID (0x3C0A) — required on every Set.
generation_uid: Option<UlBytes>Generation UID (0x0102) — optional (and never encoded on
Identification per A.3’s closing note).
object_class: Option<UlBytes>Object Class (0x0101) — optional.
Implementations§
Source§impl InterchangeObjectFields
impl InterchangeObjectFields
Sourcepub fn decode(
items: &[LocalSetItem<'_>],
set_name: &'static str,
) -> Result<Self>
pub fn decode( items: &[LocalSetItem<'_>], set_name: &'static str, ) -> Result<Self>
Decode from a parsed LocalSet’s items, collecting any of the
three tags it doesn’t recognize is not this function’s job — the
caller removes the tags it consumes from its own dark-item pass.
Sourcepub fn encode_into(&self, out: &mut Vec<LocalSetOwnedItem>)
pub fn encode_into(&self, out: &mut Vec<LocalSetOwnedItem>)
Emit this Set’s Interchange Object items in canonical order.
Trait Implementations§
Source§impl Clone for InterchangeObjectFields
impl Clone for InterchangeObjectFields
Source§fn clone(&self) -> InterchangeObjectFields
fn clone(&self) -> InterchangeObjectFields
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 Debug for InterchangeObjectFields
impl Debug for InterchangeObjectFields
Source§impl Default for InterchangeObjectFields
impl Default for InterchangeObjectFields
Source§fn default() -> InterchangeObjectFields
fn default() -> InterchangeObjectFields
Returns the “default value” for a type. Read more
impl Eq for InterchangeObjectFields
Source§impl PartialEq for InterchangeObjectFields
impl PartialEq for InterchangeObjectFields
impl StructuralPartialEq for InterchangeObjectFields
Auto Trait Implementations§
impl Freeze for InterchangeObjectFields
impl RefUnwindSafe for InterchangeObjectFields
impl Send for InterchangeObjectFields
impl Sync for InterchangeObjectFields
impl Unpin for InterchangeObjectFields
impl UnsafeUnpin for InterchangeObjectFields
impl UnwindSafe for InterchangeObjectFields
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