[][src]Struct google_healthcare1_beta1::Hl7V2Store

pub struct Hl7V2Store {
    pub parser_config: Option<ParserConfig>,
    pub name: Option<String>,
    pub reject_duplicate_message: Option<bool>,
    pub labels: Option<HashMap<String, String>>,
    pub notification_config: Option<NotificationConfig>,
    pub notification_configs: Option<Vec<Hl7V2NotificationConfig>>,
}

Represents an HL7v2 store.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

parser_config: Option<ParserConfig>

The configuration for the parser. It determines how the server parses the messages.

name: Option<String>

Output only. Resource name of the HL7v2 store, of the form projects/{project_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}.

reject_duplicate_message: Option<bool>

Determines whether duplicate messages should be rejected. A duplicate message is a message with the same raw bytes as a message that has already been ingested/created in this HL7v2 store. The default value is false, meaning that the store accepts the duplicate messages and it also returns the same ACK message in the IngestMessageResponse as has been returned previously. Note that only one resource is created in the store. When this field is set to true, CreateMessage/IngestMessage requests with a duplicate message will be rejected by the store, and IngestMessageErrorDetail returns a NACK message upon rejection.

labels: Option<HashMap<String, String>>

User-supplied key-value pairs used to organize HL7v2 stores.

Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}

Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}

No more than 64 labels can be associated with a given store.

notification_config: Option<NotificationConfig>

The notification destination all messages (both Ingest & Create) are published on. Only the message name is sent as part of the notification. If this is unset, no notifications are sent. Supplied by the client.

notification_configs: Option<Vec<Hl7V2NotificationConfig>>

A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client.

Trait Implementations

impl Clone for Hl7V2Store[src]

impl Debug for Hl7V2Store[src]

impl Default for Hl7V2Store[src]

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

impl RequestValue for Hl7V2Store[src]

impl ResponseResult for Hl7V2Store[src]

impl Serialize for Hl7V2Store[src]

Auto Trait Implementations

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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Typeable for T where
    T: Any