#[repr(i8)]pub enum CancelGoalResponseEnum {
None = 0,
Rejected = 1,
UnknownGoal = 2,
GoalTerminated = 3,
}
Expand description
From CancelGoal
Variants§
None = 0
Indicates the request was accepted without any errors. One or more goals have transitioned to the CANCELING state. The goals_canceling list is not empty.
Rejected = 1
Indicates the request was rejected. No goals have transitioned to the CANCELING state. The goals_canceling list is empty.
UnknownGoal = 2
Indicates the requested goal ID does not exist. No goals have transitioned to the CANCELING state. The goals_canceling list is empty.
GoalTerminated = 3
Indicates the goal is not cancelable because it is already in a terminal state. No goals have transitioned to the CANCELING state. The goals_canceling list is empty.
Trait Implementations§
source§impl Clone for CancelGoalResponseEnum
impl Clone for CancelGoalResponseEnum
source§fn clone(&self) -> CancelGoalResponseEnum
fn clone(&self) -> CancelGoalResponseEnum
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CancelGoalResponseEnum
impl Debug for CancelGoalResponseEnum
source§impl<'de> Deserialize<'de> for CancelGoalResponseEnum
impl<'de> Deserialize<'de> for CancelGoalResponseEnum
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 PartialEq for CancelGoalResponseEnum
impl PartialEq for CancelGoalResponseEnum
source§fn eq(&self, other: &CancelGoalResponseEnum) -> bool
fn eq(&self, other: &CancelGoalResponseEnum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CancelGoalResponseEnum
impl Serialize for CancelGoalResponseEnum
impl Copy for CancelGoalResponseEnum
impl StructuralPartialEq for CancelGoalResponseEnum
Auto Trait Implementations§
impl RefUnwindSafe for CancelGoalResponseEnum
impl Send for CancelGoalResponseEnum
impl Sync for CancelGoalResponseEnum
impl Unpin for CancelGoalResponseEnum
impl UnwindSafe for CancelGoalResponseEnum
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