#[repr(i32)]pub enum AgentRole {
Unspecified = 0,
ProductOwner = 1,
ProjectManager = 2,
Dev = 3,
Qa = 4,
Reviewer = 5,
Security = 6,
Ops = 7,
}Variants§
Unspecified = 0
ProductOwner = 1
ProjectManager = 2
Dev = 3
Qa = 4
Reviewer = 5
Security = 6
Ops = 7
Implementations§
Source§impl AgentRole
impl AgentRole
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Ord for AgentRole
impl Ord for AgentRole
Source§impl PartialOrd for AgentRole
impl PartialOrd for AgentRole
impl Copy for AgentRole
impl Eq for AgentRole
impl StructuralPartialEq for AgentRole
Auto Trait Implementations§
impl Freeze for AgentRole
impl RefUnwindSafe for AgentRole
impl Send for AgentRole
impl Sync for AgentRole
impl Unpin for AgentRole
impl UnsafeUnpin for AgentRole
impl UnwindSafe for AgentRole
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