pub struct Options {
pub uid_policy: UidPolicy,
pub length_policy: LengthPolicy,
pub default_station_ae: Option<String>,
pub character_set: Option<String>,
}Expand description
Decisions that belong to the caller, never to the mapping.
Fields§
§uid_policy: UidPolicyWhat to do when the order carries no Study Instance UID.
length_policy: LengthPolicyWhat to do with SH, LO and PN values that exceed their VR length. AE and UI are never truncated regardless of this setting.
default_station_ae: Option<String>Scheduled Station AE Title (0040,0001) when the message carries none
in IPC-9. It is Type 1, so without a value the item is refused;
supplying one is recorded as crate::Warning::StationAeDefaulted.
character_set: Option<String>(0008,0005) Specific Character Set to declare. None reads MSH-18
and falls back to ISO_IR 192 (UTF-8) with a warning.
Trait Implementations§
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more