pub struct GoogleCloudHealthcareV1DicomGcsDestination {
pub mime_type: Option<String>,
pub uri_prefix: Option<String>,
}
Expand description
The Cloud Storage location where the server writes the output and the export configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§mime_type: Option<String>
MIME types supported by DICOM spec. Each file is written in the following format: .../{study_id}/{series_id}/{instance_id}[/{frame_number}].{extension}
The frame_number component exists only for multi-frame instances. Supported MIME types are consistent with supported formats in DICOMweb: https://cloud.google.com/healthcare/docs/dicom#retrieve_transaction. Specifically, the following are supported: - application/dicom; transfer-syntax=1.2.840.10008.1.2.1 (uncompressed DICOM) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.50 (DICOM with embedded JPEG Baseline) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.90 (DICOM with embedded JPEG 2000 Lossless Only) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.91 (DICOM with embedded JPEG 2000) - application/dicom; transfer-syntax=* (DICOM with no transcoding) - application/octet-stream; transfer-syntax=1.2.840.10008.1.2.1 (raw uncompressed PixelData) - application/octet-stream; transfer-syntax=* (raw PixelData in whatever format it was uploaded in) - image/jpeg; transfer-syntax=1.2.840.10008.1.2.4.50 (Consumer JPEG) - image/png The following extensions are used for output files: - application/dicom -> .dcm - image/jpeg -> .jpg - image/png -> .png - application/octet-stream -> no extension If unspecified, the instances are exported in the original DICOM format they were uploaded in.
uri_prefix: Option<String>
The Cloud Storage destination to export to. URI for a Cloud Storage directory where the server writes the result files, in the format gs://{bucket-id}/{path/to/destination/dir}
). If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced in uri_prefix
.
Trait Implementations§
source§impl Clone for GoogleCloudHealthcareV1DicomGcsDestination
impl Clone for GoogleCloudHealthcareV1DicomGcsDestination
source§fn clone(&self) -> GoogleCloudHealthcareV1DicomGcsDestination
fn clone(&self) -> GoogleCloudHealthcareV1DicomGcsDestination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GoogleCloudHealthcareV1DicomGcsDestination
impl Default for GoogleCloudHealthcareV1DicomGcsDestination
source§fn default() -> GoogleCloudHealthcareV1DicomGcsDestination
fn default() -> GoogleCloudHealthcareV1DicomGcsDestination
source§impl<'de> Deserialize<'de> for GoogleCloudHealthcareV1DicomGcsDestination
impl<'de> Deserialize<'de> for GoogleCloudHealthcareV1DicomGcsDestination
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>,
impl Part for GoogleCloudHealthcareV1DicomGcsDestination
Auto Trait Implementations§
impl Freeze for GoogleCloudHealthcareV1DicomGcsDestination
impl RefUnwindSafe for GoogleCloudHealthcareV1DicomGcsDestination
impl Send for GoogleCloudHealthcareV1DicomGcsDestination
impl Sync for GoogleCloudHealthcareV1DicomGcsDestination
impl Unpin for GoogleCloudHealthcareV1DicomGcsDestination
impl UnwindSafe for GoogleCloudHealthcareV1DicomGcsDestination
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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