pub enum ParticipantKind {
Person,
Agent,
}Expand description
Whether a logical participant is meant to be a person or an agent.
A design states which it wants; the host decides what actually turns up, and a person where an agent was designed for is a fact the run records rather than a validation error here.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ParticipantKind
impl Clone for ParticipantKind
impl Copy for ParticipantKind
Source§impl Debug for ParticipantKind
impl Debug for ParticipantKind
Source§impl<'de> Deserialize<'de> for ParticipantKind
impl<'de> Deserialize<'de> for ParticipantKind
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
Source§impl Display for ParticipantKind
impl Display for ParticipantKind
impl Eq for ParticipantKind
Source§impl Hash for ParticipantKind
impl Hash for ParticipantKind
Source§impl Ord for ParticipantKind
impl Ord for ParticipantKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ParticipantKind
impl PartialEq for ParticipantKind
Source§impl PartialOrd for ParticipantKind
impl PartialOrd for ParticipantKind
Source§impl Serialize for ParticipantKind
impl Serialize for ParticipantKind
impl StructuralPartialEq for ParticipantKind
Auto Trait Implementations§
impl Freeze for ParticipantKind
impl RefUnwindSafe for ParticipantKind
impl Send for ParticipantKind
impl Sync for ParticipantKind
impl Unpin for ParticipantKind
impl UnsafeUnpin for ParticipantKind
impl UnwindSafe for ParticipantKind
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