#[repr(i32)]pub enum ModifyActionTaken {
MODIFY_ACTION_UNSPECIFIED = 0,
AMENDED = 1,
REPLACED = 2,
}Expand description
ModifyActionTaken describes what action was applied for a modify request.
Variants§
MODIFY_ACTION_UNSPECIFIED = 0
Modify action is unknown or the request was rejected.
AMENDED = 1
Existing order was amended in place.
REPLACED = 2
Existing order was canceled and replaced with a new order.
Implementations§
Source§impl ModifyActionTaken
impl ModifyActionTaken
Sourcepub const ModifyActionUnspecified: Self = Self::MODIFY_ACTION_UNSPECIFIED
pub const ModifyActionUnspecified: Self = Self::MODIFY_ACTION_UNSPECIFIED
Idiomatic alias for Self::MODIFY_ACTION_UNSPECIFIED; Debug prints the variant name.
Sourcepub const Amended: Self = Self::AMENDED
pub const Amended: Self = Self::AMENDED
Idiomatic alias for Self::AMENDED; Debug prints the variant name.
Sourcepub const Replaced: Self = Self::REPLACED
pub const Replaced: Self = Self::REPLACED
Idiomatic alias for Self::REPLACED; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for ModifyActionTaken
impl Clone for ModifyActionTaken
Source§fn clone(&self) -> ModifyActionTaken
fn clone(&self) -> ModifyActionTaken
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 ModifyActionTaken
Source§impl Debug for ModifyActionTaken
impl Debug for ModifyActionTaken
Source§impl Default for ModifyActionTaken
impl Default for ModifyActionTaken
Source§impl<'de> Deserialize<'de> for ModifyActionTaken
impl<'de> Deserialize<'de> for ModifyActionTaken
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for ModifyActionTaken
impl Enumeration for ModifyActionTaken
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for ModifyActionTaken
Source§impl Hash for ModifyActionTaken
impl Hash for ModifyActionTaken
Source§impl PartialEq for ModifyActionTaken
impl PartialEq for ModifyActionTaken
Source§impl ProtoElemJson for ModifyActionTaken
impl ProtoElemJson for ModifyActionTaken
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for ModifyActionTaken
impl Serialize for ModifyActionTaken
impl StructuralPartialEq for ModifyActionTaken
Auto Trait Implementations§
impl Freeze for ModifyActionTaken
impl RefUnwindSafe for ModifyActionTaken
impl Send for ModifyActionTaken
impl Sync for ModifyActionTaken
impl Unpin for ModifyActionTaken
impl UnsafeUnpin for ModifyActionTaken
impl UnwindSafe for ModifyActionTaken
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.