Struct dicom_object::meta::FileMetaTable[][src]

pub struct FileMetaTable {
    pub information_group_length: u32,
    pub information_version: [u8; 2],
    pub media_storage_sop_class_uid: String,
    pub media_storage_sop_instance_uid: String,
    pub transfer_syntax: String,
    pub implementation_class_uid: String,
    pub implementation_version_name: Option<String>,
    pub source_application_entity_title: Option<String>,
    pub sending_application_entity_title: Option<String>,
    pub receiving_application_entity_title: Option<String>,
    pub private_information_creator_uid: Option<String>,
    pub private_information: Option<Vec<u8>>,
}

DICOM File Meta Information Table.

This data type contains the relevant parts of the file meta information table, as specified in part 6, chapter 7 of the standard.

Creating a new file meta table from scratch is more easily done using a FileMetaTableBuilder.

Fields

information_group_length: u32

File Meta Information Group Length

information_version: [u8; 2]

File Meta Information Version

media_storage_sop_class_uid: String

Media Storage SOP Class UID

media_storage_sop_instance_uid: String

Media Storage SOP Instance UID

transfer_syntax: String

Transfer Syntax UID

implementation_class_uid: String

Implementation Class UID

implementation_version_name: Option<String>

Implementation Version Name

source_application_entity_title: Option<String>

Source Application Entity Title

sending_application_entity_title: Option<String>

Sending Application Entity Title

receiving_application_entity_title: Option<String>

Receiving Application Entity Title

private_information_creator_uid: Option<String>

Private Information Creator UID

private_information: Option<Vec<u8>>

Private Information

Implementations

impl FileMetaTable[src]

pub fn from_reader<R: Read>(file: R) -> Result<Self, Error>[src]

pub fn into_element_iter(
    self
) -> impl Iterator<Item = DataElement<EmptyObject, [u8; 0]>>
[src]

pub fn write<W: Write>(&self, writer: W) -> Result<(), Error>[src]

Trait Implementations

impl Clone for FileMetaTable[src]

impl Debug for FileMetaTable[src]

impl PartialEq<FileMetaTable> for FileMetaTable[src]

impl StructuralPartialEq for FileMetaTable[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.