[][src]Struct orthanc::Instance

pub struct Instance {
    pub id: String,
    pub main_dicom_tags: HashMap<String, String>,
    pub parent_series: String,
    pub index_in_series: Option<u32>,
    pub file_uuid: String,
    pub file_size: u64,
    pub modified_from: Option<String>,
    pub entity: Entity,
    pub anonymized_from: Option<String>,
}

Instance

Fields

id: Stringmain_dicom_tags: HashMap<String, String>parent_series: Stringindex_in_series: Option<u32>file_uuid: Stringfile_size: u64modified_from: Option<String>entity: Entityanonymized_from: Option<String>

Implementations

impl Instance[src]

pub fn main_dicom_tag(&self, tag: &str) -> Option<&str>[src]

Get the value of a DICOM tag from main_dicom_tags

Trait Implementations

impl Debug for Instance[src]

impl<'de> Deserialize<'de> for Instance[src]

impl Eq for Instance[src]

impl PartialEq<Instance> for Instance[src]

impl Serialize for Instance[src]

impl StructuralEq for Instance[src]

impl StructuralPartialEq for Instance[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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.

impl<T> WithSubscriber for T[src]