pub struct Subscription {Show 25 fields
pub id: Option<Id>,
pub meta: Option<Meta>,
pub implicit_rules: Option<UriDt>,
pub language: Option<CodeDt>,
pub text: Option<Narrative>,
pub contained: Option<Vec<AnyResource>>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
pub identifier: Option<Vec<Identifier>>,
pub name: Option<StringDt>,
pub status: Option<CodeDt>,
pub topic: Option<CanonicalDt>,
pub contact: Option<Vec<ContactPoint>>,
pub end: Option<InstantDt>,
pub managing_entity: Option<Reference>,
pub reason: Option<StringDt>,
pub filter_by: Option<Vec<SubscriptionFilterByBackboneElement>>,
pub channel_type: Option<Coding>,
pub endpoint: Option<UrlDt>,
pub parameter: Option<Vec<SubscriptionParameterBackboneElement>>,
pub heartbeat_period: Option<UnsignedIntDt>,
pub timeout: Option<UnsignedIntDt>,
pub content_type: Option<CodeDt>,
pub content: Option<CodeDt>,
pub max_count: Option<PositiveIntDt>,
}
Fields§
§id: Option<Id>
Logical id of this artifact
meta: Option<Meta>
Metadata about the resource
implicit_rules: Option<UriDt>
A set of rules under which this content was created
language: Option<CodeDt>
Language of the resource content
text: Option<Narrative>
Text summary of the resource, for human interpretation
contained: Option<Vec<AnyResource>>
Contained, inline Resources
extension: Option<Vec<Extension>>
Additional content defined by implementations
modifier_extension: Option<Vec<Extension>>
Extensions that cannot be ignored
identifier: Option<Vec<Identifier>>
Additional identifiers (business identifier)
name: Option<StringDt>
Human readable name for this subscription
status: Option<CodeDt>
requested | active | error | off | entered-in-error
topic: Option<CanonicalDt>
Reference to the subscription topic being subscribed to
contact: Option<Vec<ContactPoint>>
Contact details for source (e.g. troubleshooting)
end: Option<InstantDt>
When to automatically delete the subscription
managing_entity: Option<Reference>
Entity responsible for Subscription changes
reason: Option<StringDt>
Description of why this subscription was created
filter_by: Option<Vec<SubscriptionFilterByBackboneElement>>
Criteria for narrowing the subscription topic stream
channel_type: Option<Coding>
Channel type for notifications
endpoint: Option<UrlDt>
Where the channel points to
parameter: Option<Vec<SubscriptionParameterBackboneElement>>
Channel type
heartbeat_period: Option<UnsignedIntDt>
Interval in seconds to send ‘heartbeat’ notification
timeout: Option<UnsignedIntDt>
Timeout in seconds to attempt notification delivery
content_type: Option<CodeDt>
MIME type to send, or omit for no payload
content: Option<CodeDt>
empty | id-only | full-resource
max_count: Option<PositiveIntDt>
Maximum number of events that can be combined in a single notification
Implementations§
Source§impl Subscription
impl Subscription
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_name<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_topic<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_contact(self, v: Vec<ContactPoint>) -> Self
pub fn add_contact(self, v: ContactPoint) -> Self
pub fn set_end<T: Into<InstantDt>>(self, v: T) -> Self
pub fn set_managing_entity(self, v: Reference) -> Self
pub fn set_reason<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_filter_by(self, v: Vec<SubscriptionFilterByBackboneElement>) -> Self
pub fn add_filter_by(self, v: SubscriptionFilterByBackboneElement) -> Self
pub fn set_channel_type(self, v: Coding) -> Self
pub fn set_endpoint<T: Into<UrlDt>>(self, v: T) -> Self
pub fn set_parameter(self, v: Vec<SubscriptionParameterBackboneElement>) -> Self
pub fn add_parameter(self, v: SubscriptionParameterBackboneElement) -> Self
pub fn set_heartbeat_period<T: Into<UnsignedIntDt>>(self, v: T) -> Self
pub fn set_timeout<T: Into<UnsignedIntDt>>(self, v: T) -> Self
pub fn set_content_type<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_content<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_max_count<T: Into<PositiveIntDt>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for Subscription
impl Clone for Subscription
Source§fn clone(&self) -> Subscription
fn clone(&self) -> Subscription
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more