pub struct PolicyContext<'a, CTX, Client: FHIRClient<CTX, OperationOutcomeError>> {
pub client: &'a Client,
pub client_context: CTX,
pub environment: Option<PolicyEnvironment<'a>>,
}Fields§
§client: &'a Client§client_context: CTX§environment: Option<PolicyEnvironment<'a>>Trait Implementations§
Auto Trait Implementations§
impl<'a, CTX, Client> Freeze for PolicyContext<'a, CTX, Client>where
CTX: Freeze,
impl<'a, CTX, Client> RefUnwindSafe for PolicyContext<'a, CTX, Client>where
CTX: RefUnwindSafe,
Client: RefUnwindSafe,
impl<'a, CTX, Client> Send for PolicyContext<'a, CTX, Client>where
CTX: Send,
impl<'a, CTX, Client> Sync for PolicyContext<'a, CTX, Client>where
CTX: Sync,
impl<'a, CTX, Client> Unpin for PolicyContext<'a, CTX, Client>where
CTX: Unpin,
impl<'a, CTX, Client> UnwindSafe for PolicyContext<'a, CTX, Client>where
CTX: UnwindSafe,
Client: RefUnwindSafe,
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
§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