[][src]Struct orthanc::Patient

pub struct Patient {
    pub id: String,
    pub is_stable: bool,
    pub last_update: NaiveDateTime,
    pub main_dicom_tags: HashMap<String, String>,
    pub studies: Vec<String>,
    pub entity: Entity,
    pub anonymized_from: Option<String>,
}

Patient

Fields

id: Stringis_stable: boollast_update: NaiveDateTimemain_dicom_tags: HashMap<String, String>studies: Vec<String>entity: Entityanonymized_from: Option<String>

Implementations

impl Patient[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 Patient[src]

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

impl Eq for Patient[src]

impl PartialEq<Patient> for Patient[src]

impl Serialize for Patient[src]

impl StructuralEq for Patient[src]

impl StructuralPartialEq for Patient[src]

Auto Trait Implementations

impl RefUnwindSafe for Patient

impl Send for Patient

impl Sync for Patient

impl Unpin for Patient

impl UnwindSafe for Patient

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]