pub enum ResourceType {
Show 152 variants
IdentityProvider,
Membership,
Project,
AccessPolicyV2,
ClientApplication,
User,
Account,
ActivityDefinition,
AdverseEvent,
AllergyIntolerance,
Appointment,
AppointmentResponse,
AuditEvent,
Basic,
Binary,
BiologicallyDerivedProduct,
BodyStructure,
Bundle,
CapabilityStatement,
CarePlan,
CareTeam,
CatalogEntry,
ChargeItem,
ChargeItemDefinition,
Claim,
ClaimResponse,
ClinicalImpression,
CodeSystem,
Communication,
CommunicationRequest,
CompartmentDefinition,
Composition,
ConceptMap,
Condition,
Consent,
Contract,
Coverage,
CoverageEligibilityRequest,
CoverageEligibilityResponse,
DetectedIssue,
Device,
DeviceDefinition,
DeviceMetric,
DeviceRequest,
DeviceUseStatement,
DiagnosticReport,
DocumentManifest,
DocumentReference,
EffectEvidenceSynthesis,
Encounter,
Endpoint,
EnrollmentRequest,
EnrollmentResponse,
EpisodeOfCare,
EventDefinition,
Evidence,
EvidenceVariable,
ExampleScenario,
ExplanationOfBenefit,
FamilyMemberHistory,
Flag,
Goal,
GraphDefinition,
Group,
GuidanceResponse,
HealthcareService,
ImagingStudy,
Immunization,
ImmunizationEvaluation,
ImmunizationRecommendation,
ImplementationGuide,
InsurancePlan,
Invoice,
Library,
Linkage,
List,
Location,
Measure,
MeasureReport,
Media,
Medication,
MedicationAdministration,
MedicationDispense,
MedicationKnowledge,
MedicationRequest,
MedicationStatement,
MedicinalProduct,
MedicinalProductAuthorization,
MedicinalProductContraindication,
MedicinalProductIndication,
MedicinalProductIngredient,
MedicinalProductInteraction,
MedicinalProductManufactured,
MedicinalProductPackaged,
MedicinalProductPharmaceutical,
MedicinalProductUndesirableEffect,
MessageDefinition,
MessageHeader,
MolecularSequence,
NamingSystem,
NutritionOrder,
Observation,
ObservationDefinition,
OperationDefinition,
OperationOutcome,
Organization,
OrganizationAffiliation,
Parameters,
Patient,
PaymentNotice,
PaymentReconciliation,
Person,
PlanDefinition,
Practitioner,
PractitionerRole,
Procedure,
Provenance,
Questionnaire,
QuestionnaireResponse,
RelatedPerson,
RequestGroup,
ResearchDefinition,
ResearchElementDefinition,
ResearchStudy,
ResearchSubject,
RiskAssessment,
RiskEvidenceSynthesis,
Schedule,
SearchParameter,
ServiceRequest,
Slot,
Specimen,
SpecimenDefinition,
StructureDefinition,
StructureMap,
Subscription,
Substance,
SubstanceNucleicAcid,
SubstancePolymer,
SubstanceProtein,
SubstanceReferenceInformation,
SubstanceSourceMaterial,
SubstanceSpecification,
SupplyDelivery,
SupplyRequest,
Task,
TerminologyCapabilities,
TestReport,
TestScript,
ValueSet,
VerificationResult,
VisionPrescription,
}Variants§
IdentityProvider
Membership
Project
AccessPolicyV2
ClientApplication
User
Account
ActivityDefinition
AdverseEvent
AllergyIntolerance
Appointment
AppointmentResponse
AuditEvent
Basic
Binary
BiologicallyDerivedProduct
BodyStructure
Bundle
CapabilityStatement
CarePlan
CareTeam
CatalogEntry
ChargeItem
ChargeItemDefinition
Claim
ClaimResponse
ClinicalImpression
CodeSystem
Communication
CommunicationRequest
CompartmentDefinition
Composition
ConceptMap
Condition
Consent
Contract
Coverage
CoverageEligibilityRequest
CoverageEligibilityResponse
DetectedIssue
Device
DeviceDefinition
DeviceMetric
DeviceRequest
DeviceUseStatement
DiagnosticReport
DocumentManifest
DocumentReference
EffectEvidenceSynthesis
Encounter
Endpoint
EnrollmentRequest
EnrollmentResponse
EpisodeOfCare
EventDefinition
Evidence
EvidenceVariable
ExampleScenario
ExplanationOfBenefit
FamilyMemberHistory
Flag
Goal
GraphDefinition
Group
GuidanceResponse
HealthcareService
ImagingStudy
Immunization
ImmunizationEvaluation
ImmunizationRecommendation
ImplementationGuide
InsurancePlan
Invoice
Library
Linkage
List
Location
Measure
MeasureReport
Media
Medication
MedicationAdministration
MedicationDispense
MedicationKnowledge
MedicationRequest
MedicationStatement
MedicinalProduct
MedicinalProductAuthorization
MedicinalProductContraindication
MedicinalProductIndication
MedicinalProductIngredient
MedicinalProductInteraction
MedicinalProductManufactured
MedicinalProductPackaged
MedicinalProductPharmaceutical
MedicinalProductUndesirableEffect
MessageDefinition
MessageHeader
MolecularSequence
NamingSystem
NutritionOrder
Observation
ObservationDefinition
OperationDefinition
OperationOutcome
Organization
OrganizationAffiliation
Parameters
Patient
PaymentNotice
PaymentReconciliation
Person
PlanDefinition
Practitioner
PractitionerRole
Procedure
Provenance
Questionnaire
QuestionnaireResponse
RelatedPerson
RequestGroup
ResearchDefinition
ResearchElementDefinition
ResearchStudy
ResearchSubject
RiskAssessment
RiskEvidenceSynthesis
Schedule
SearchParameter
ServiceRequest
Slot
Specimen
SpecimenDefinition
StructureDefinition
StructureMap
Subscription
Substance
SubstanceNucleicAcid
SubstancePolymer
SubstanceProtein
SubstanceReferenceInformation
SubstanceSourceMaterial
SubstanceSpecification
SupplyDelivery
SupplyRequest
Task
TerminologyCapabilities
TestReport
TestScript
ValueSet
VerificationResult
VisionPrescription
Implementations§
Source§impl ResourceType
impl ResourceType
pub fn deserialize(&self, data: &str) -> Result<Resource, DeserializeError>
Trait Implementations§
Source§impl AsRef<str> for ResourceType
impl AsRef<str> for ResourceType
Source§impl Clone for ResourceType
impl Clone for ResourceType
Source§fn clone(&self) -> ResourceType
fn clone(&self) -> ResourceType
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 ResourceType
impl Debug for ResourceType
Source§impl<'r, DB: Database> Decode<'r, DB> for ResourceTypewhere
&'r str: Decode<'r, DB>,
impl<'r, DB: Database> Decode<'r, DB> for ResourceTypewhere
&'r str: Decode<'r, DB>,
Source§impl<'de> Deserialize<'de> for ResourceType
impl<'de> Deserialize<'de> for ResourceType
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'r> Encode<'r, Postgres> for ResourceType
impl<'r> Encode<'r, Postgres> for ResourceType
Source§fn encode_by_ref(
&self,
buf: &mut PgArgumentBuffer,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut PgArgumentBuffer, ) -> Result<IsNull, BoxDynError>
§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer<'q>,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer<'q>,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Hash for ResourceType
impl Hash for ResourceType
Source§impl Ord for ResourceType
impl Ord for ResourceType
Source§fn cmp(&self, other: &ResourceType) -> Ordering
fn cmp(&self, other: &ResourceType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResourceType
impl PartialEq for ResourceType
Source§impl PartialOrd for ResourceType
impl PartialOrd for ResourceType
Source§impl Serialize for ResourceType
impl Serialize for ResourceType
Source§impl TryFrom<&str> for ResourceType
impl TryFrom<&str> for ResourceType
Source§impl TryFrom<String> for ResourceType
impl TryFrom<String> for ResourceType
impl Eq for ResourceType
impl StructuralPartialEq for ResourceType
Auto Trait Implementations§
impl Freeze for ResourceType
impl RefUnwindSafe for ResourceType
impl Send for ResourceType
impl Sync for ResourceType
impl Unpin for ResourceType
impl UnwindSafe for ResourceType
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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