pub enum JobContent {
DicomMoveScu {
description: CompactString,
local_aet: CompactString,
query: Vec<MoveScuJobQuery>,
remote_aet: CompactString,
target_aet: CompactString,
},
DicomModalityStore {},
OrthancPeerStore {
compress: bool,
description: CompactString,
failed_instances_count: usize,
instances_count: usize,
parent_resources: Vec<String>,
peer: [CompactString; 3],
size: u64,
},
ResourceModification(ResourceModificationContent),
MergeStudy {},
SplitStudy {},
StorageCommitmentScp {},
}Expand description
The content of an Orthanc job.
WARNING: not all variants are implemented, check the source code.
Job type ref: https://orthanc.uclouvain.be/hg/orthanc/file/Orthanc-1.12.8/OrthancServer/Sources/ServerJobs/OrthancJobUnserializer.cpp#l66
Variants§
DicomMoveScu
DICOM MOVE-SCU job.
Fields
§
description: CompactString§
local_aet: CompactString§
query: Vec<MoveScuJobQuery>§
remote_aet: CompactString§
target_aet: CompactStringDicomModalityStore
OrthancPeerStore
Store DICOM in peer Orthanc job.
Fields
§
description: CompactString§
parent_resources: Vec<String>Local resource IDs being pushed to the peer. Note that the resource type is not known, it might be a patient, study, series, or instance.
§
peer: [CompactString; 3]peer configuration.
ResourceModification(ResourceModificationContent)
MergeStudy
SplitStudy
StorageCommitmentScp
Trait Implementations§
Source§impl Clone for JobContent
impl Clone for JobContent
Source§fn clone(&self) -> JobContent
fn clone(&self) -> JobContent
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 JobContent
impl Debug for JobContent
Source§impl<'de> Deserialize<'de> for JobContent
impl<'de> Deserialize<'de> for JobContent
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
Source§impl PartialEq for JobContent
impl PartialEq for JobContent
Source§fn eq(&self, other: &JobContent) -> bool
fn eq(&self, other: &JobContent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JobContent
impl Serialize for JobContent
impl StructuralPartialEq for JobContent
Auto Trait Implementations§
impl Freeze for JobContent
impl RefUnwindSafe for JobContent
impl Send for JobContent
impl Sync for JobContent
impl Unpin for JobContent
impl UnsafeUnpin for JobContent
impl UnwindSafe for JobContent
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