pub struct Author {
pub name: NonEmptyText,
pub role: NonEmptyText,
pub email: EmailAddress,
pub registrations: Vec<AuthorRegistration>,
pub signature: Option<Vec<u8>>,
pub certificate: Option<Vec<u8>>,
}Expand description
Represents an author of a commit or record operation.
Fields§
§name: NonEmptyTextThe full name of the author.
role: NonEmptyTextThe professional role of the author (e.g., “Clinician”, “Nurse”).
email: EmailAddressThe email address of the author.
registrations: Vec<AuthorRegistration>Professional registrations for the author (e.g., GMC number, NMC PIN).
signature: Option<Vec<u8>>Optional digital signature for the commit.
certificate: Option<Vec<u8>>Optional X.509 certificate for the author.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Author
impl RefUnwindSafe for Author
impl Send for Author
impl Sync for Author
impl Unpin for Author
impl UnwindSafe for Author
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