pub struct Uninitialised;Expand description
Marker type: clinical record does not yet exist.
This is a zero-sized type used in the type-state pattern to indicate that
a ClinicalService has not yet been initialised. Services in this state
can only call ClinicalService::initialise() to create a new clinical record.
§Type Safety
The type system prevents you from calling operations that require an existing
clinical record (like link_to_demographics)
when the service is in the Uninitialised state.
Trait Implementations§
Source§impl Clone for Uninitialised
impl Clone for Uninitialised
Source§fn clone(&self) -> Uninitialised
fn clone(&self) -> Uninitialised
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 Uninitialised
impl Debug for Uninitialised
impl Copy for Uninitialised
Auto Trait Implementations§
impl Freeze for Uninitialised
impl RefUnwindSafe for Uninitialised
impl Send for Uninitialised
impl Sync for Uninitialised
impl Unpin for Uninitialised
impl UnwindSafe for Uninitialised
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request