pub enum CondCreate {
Created(PutOutcome),
Existing(String),
Multiple,
}Expand description
The result of a conditional create (If-None-Exist).
Variants§
Created(PutOutcome)
No match: the resource was created.
Existing(String)
Exactly one match: it is returned unchanged, per FHIR.
Multiple
More than one match: the criteria are not selective enough (412).
Trait Implementations§
Auto Trait Implementations§
impl Forget for CondCreate
impl Freeze for CondCreate
impl Move for CondCreate
impl RefUnwindSafe for CondCreate
impl Send for CondCreatewhere
RawVecInner: Send,
impl Sync for CondCreatewhere
RawVecInner: Sync,
impl Unpin for CondCreate
impl UnsafeUnpin for CondCreate
impl UnwindSafe for CondCreatewhere
RawVecInner: UnwindSafe,
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