pub struct SubscriptionStatus {Show 15 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 status: Option<CodeDt>,
pub type_: Option<CodeDt>,
pub events_since_subscription_start: Option<Integer64Dt>,
pub notification_event: Option<Vec<SubscriptionStatusNotificationEventBackboneElement>>,
pub subscription: Option<Reference>,
pub topic: Option<CanonicalDt>,
pub error: Option<Vec<CodeableConcept>>,
}
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
status: Option<CodeDt>
requested | active | error | off | entered-in-error
type_: Option<CodeDt>
handshake | heartbeat | event-notification | query-status | query-event
events_since_subscription_start: Option<Integer64Dt>
Events since the Subscription was created
notification_event: Option<Vec<SubscriptionStatusNotificationEventBackboneElement>>
Detailed information about any events relevant to this notification
subscription: Option<Reference>
Reference to the Subscription responsible for this notification
topic: Option<CanonicalDt>
Reference to the SubscriptionTopic this notification relates to
error: Option<Vec<CodeableConcept>>
List of errors on the subscription
Implementations§
Source§impl SubscriptionStatus
impl SubscriptionStatus
pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_type_<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_events_since_subscription_start<T: Into<Integer64Dt>>( self, v: T, ) -> Self
pub fn set_notification_event( self, v: Vec<SubscriptionStatusNotificationEventBackboneElement>, ) -> Self
pub fn add_notification_event( self, v: SubscriptionStatusNotificationEventBackboneElement, ) -> Self
pub fn set_subscription(self, v: Reference) -> Self
pub fn set_topic<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_error(self, v: Vec<CodeableConcept>) -> Self
pub fn add_error(self, v: CodeableConcept) -> Self
Trait Implementations§
Source§impl Clone for SubscriptionStatus
impl Clone for SubscriptionStatus
Source§fn clone(&self) -> SubscriptionStatus
fn clone(&self) -> SubscriptionStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 SubscriptionStatus
impl Debug for SubscriptionStatus
Source§impl Default for SubscriptionStatus
impl Default for SubscriptionStatus
Source§fn default() -> SubscriptionStatus
fn default() -> SubscriptionStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionStatus
impl<'de> Deserialize<'de> for SubscriptionStatus
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl DomainResource for SubscriptionStatus
impl DomainResource for SubscriptionStatus
fn extension(&self) -> &Option<Vec<Extension>>
fn set_extension(self, ext: Vec<Extension>) -> Self
fn add_extension(self, ext: Extension) -> Self
fn modifier_extension(&self) -> &Option<Vec<Extension>>
fn set_modifier_extension(self, ext: Vec<Extension>) -> Self
fn add_modifier_extension(self, ext: Extension) -> Self
Source§impl Resource for SubscriptionStatus
impl Resource for SubscriptionStatus
Source§impl Serialize for SubscriptionStatus
impl Serialize for SubscriptionStatus
Auto Trait Implementations§
impl Freeze for SubscriptionStatus
impl RefUnwindSafe for SubscriptionStatus
impl Send for SubscriptionStatus
impl Sync for SubscriptionStatus
impl Unpin for SubscriptionStatus
impl UnwindSafe for SubscriptionStatus
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