pub struct AgentInCapacity {
pub name: String,
pub capacity: String,
pub did: Option<String>,
}Expand description
A natural person (or software agent) acting FOR the authority in a stated capacity/role — e.g. a pathologist signing off a result, a case officer issuing a determination.
Fields§
§name: StringName of the person or software agent.
capacity: StringThe role/capacity they act in, e.g. “pathologist”, “case officer”, “registrar”.
did: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for AgentInCapacity
impl Clone for AgentInCapacity
Source§impl Debug for AgentInCapacity
impl Debug for AgentInCapacity
Source§impl<'de> Deserialize<'de> for AgentInCapacity
impl<'de> Deserialize<'de> for AgentInCapacity
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
impl Eq for AgentInCapacity
Source§impl PartialEq for AgentInCapacity
impl PartialEq for AgentInCapacity
Source§impl Serialize for AgentInCapacity
impl Serialize for AgentInCapacity
impl StructuralPartialEq for AgentInCapacity
Auto Trait Implementations§
impl Freeze for AgentInCapacity
impl RefUnwindSafe for AgentInCapacity
impl Send for AgentInCapacity
impl Sync for AgentInCapacity
impl Unpin for AgentInCapacity
impl UnsafeUnpin for AgentInCapacity
impl UnwindSafe for AgentInCapacity
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