pub struct IdAndPath<T> {
pub id: T,
pub path: String,
}Expand description
ID and path of an Orthanc resource.
Note: the Orthanc response typically has { "Type": "Patient|Study|Series|Instance" },
which is missing from this struct because the information is conveyed by the generic type.
Fields§
§id: T§path: StringTrait Implementations§
Source§impl<'de, T> Deserialize<'de> for IdAndPath<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for IdAndPath<T>where
T: 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> StructuralPartialEq for IdAndPath<T>
Auto Trait Implementations§
impl<T> Freeze for IdAndPath<T>where
T: Freeze,
impl<T> RefUnwindSafe for IdAndPath<T>where
T: RefUnwindSafe,
impl<T> Send for IdAndPath<T>where
T: Send,
impl<T> Sync for IdAndPath<T>where
T: Sync,
impl<T> Unpin for IdAndPath<T>where
T: Unpin,
impl<T> UnwindSafe for IdAndPath<T>where
T: 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