#[repr(i32)]pub enum LinkagePlate {
Shhk = 9_700_900,
Szhk = 9_700_903,
Hshk = 10_009_700,
}Expand description
关联市场板块
Variants§
Implementations§
Source§impl LinkagePlate
impl LinkagePlate
Source§impl LinkagePlate
impl LinkagePlate
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 LinkagePlate
impl Clone for LinkagePlate
Source§fn clone(&self) -> LinkagePlate
fn clone(&self) -> LinkagePlate
Returns a duplicate 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 LinkagePlate
impl Debug for LinkagePlate
Source§impl Default for LinkagePlate
impl Default for LinkagePlate
Source§fn default() -> LinkagePlate
fn default() -> LinkagePlate
Returns the “default value” for a type. Read more
Source§impl From<LinkagePlate> for i32
impl From<LinkagePlate> for i32
Source§fn from(value: LinkagePlate) -> i32
fn from(value: LinkagePlate) -> i32
Converts to this type from the input type.
Source§impl Hash for LinkagePlate
impl Hash for LinkagePlate
Source§impl Ord for LinkagePlate
impl Ord for LinkagePlate
Source§fn cmp(&self, other: &LinkagePlate) -> Ordering
fn cmp(&self, other: &LinkagePlate) -> Ordering
1.21.0 · 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 LinkagePlate
impl PartialEq for LinkagePlate
Source§impl PartialOrd for LinkagePlate
impl PartialOrd for LinkagePlate
Source§impl TryFrom<i32> for LinkagePlate
impl TryFrom<i32> for LinkagePlate
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<LinkagePlate, UnknownEnumValue>
fn try_from(value: i32) -> Result<LinkagePlate, UnknownEnumValue>
Performs the conversion.
impl Copy for LinkagePlate
impl Eq for LinkagePlate
impl StructuralPartialEq for LinkagePlate
Auto Trait Implementations§
impl Freeze for LinkagePlate
impl RefUnwindSafe for LinkagePlate
impl Send for LinkagePlate
impl Sync for LinkagePlate
impl Unpin for LinkagePlate
impl UnsafeUnpin for LinkagePlate
impl UnwindSafe for LinkagePlate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.