pub enum RoleKind {
Owner,
Shareholder,
Partner,
ManagingDirector,
BoardMember,
Member,
AuthorisedSignatory,
Unknown,
}Expand description
What a person is to an organisation.
Variants§
Owner
Sole owner of an organisation without shares, e.g. a sole trader’s business.
Holds shares of a company.
Partner
Partner of a partnership.
ManagingDirector
Manages and represents it, e.g. a managing director.
BoardMember
Member of its board.
Member
Member of an association or a cooperative.
AuthorisedSignatory
May sign for it, e.g. holds a commercial power of attorney.
Unknown
A role of a later version; kept as received, not interpreted, and not written by this version.
Trait Implementations§
impl Copy for RoleKind
Source§impl<'de> Deserialize<'de> for RoleKind
impl<'de> Deserialize<'de> for RoleKind
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 RoleKind
Source§impl Ord for RoleKind
impl Ord for RoleKind
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
Source§impl PartialOrd for RoleKind
impl PartialOrd for RoleKind
impl StructuralPartialEq for RoleKind
Auto Trait Implementations§
impl Freeze for RoleKind
impl RefUnwindSafe for RoleKind
impl Send for RoleKind
impl Sync for RoleKind
impl Unpin for RoleKind
impl UnsafeUnpin for RoleKind
impl UnwindSafe for RoleKind
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