#[repr(i32)]pub enum AgentRunStatus {
Unspecified = 0,
Running = 1,
Paused = 2,
Completed = 3,
Failed = 4,
Cancelled = 5,
}Variants§
Implementations§
Source§impl AgentRunStatus
impl AgentRunStatus
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 Clone for AgentRunStatus
impl Clone for AgentRunStatus
Source§fn clone(&self) -> AgentRunStatus
fn clone(&self) -> AgentRunStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AgentRunStatus
Source§impl Debug for AgentRunStatus
impl Debug for AgentRunStatus
Source§impl Default for AgentRunStatus
impl Default for AgentRunStatus
Source§fn default() -> AgentRunStatus
fn default() -> AgentRunStatus
Returns the “default value” for a type. Read more
impl Eq for AgentRunStatus
Source§impl From<AgentRunStatus> for i32
impl From<AgentRunStatus> for i32
Source§fn from(value: AgentRunStatus) -> i32
fn from(value: AgentRunStatus) -> i32
Converts to this type from the input type.
Source§impl Hash for AgentRunStatus
impl Hash for AgentRunStatus
Source§impl Ord for AgentRunStatus
impl Ord for AgentRunStatus
Source§fn cmp(&self, other: &AgentRunStatus) -> Ordering
fn cmp(&self, other: &AgentRunStatus) -> Ordering
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 PartialEq for AgentRunStatus
impl PartialEq for AgentRunStatus
Source§impl PartialOrd for AgentRunStatus
impl PartialOrd for AgentRunStatus
impl StructuralPartialEq for AgentRunStatus
Source§impl TryFrom<i32> for AgentRunStatus
impl TryFrom<i32> for AgentRunStatus
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<AgentRunStatus, UnknownEnumValue>
fn try_from(value: i32) -> Result<AgentRunStatus, UnknownEnumValue>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AgentRunStatus
impl RefUnwindSafe for AgentRunStatus
impl Send for AgentRunStatus
impl Sync for AgentRunStatus
impl Unpin for AgentRunStatus
impl UnsafeUnpin for AgentRunStatus
impl UnwindSafe for AgentRunStatus
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