#[repr(i32)]pub enum TrdSubAccType {
Show 17 variants
None = 0,
JpGeneral = 1,
JpTokutei = 2,
JpNisaGeneral = 3,
JpNisaTsumitate = 4,
JpGeneralShort = 5,
JpTokuteiShort = 6,
JpHonpoGeneral = 7,
JpGaikokuGeneral = 8,
JpHonpoTokutei = 9,
JpGaikokuTokutei = 10,
JpDerivativeLong = 11,
JpDerivativeShort = 12,
JpHonpoDerivativeGeneral = 13,
JpGaikokuDerivativeGeneral = 14,
JpHonpoDerivativeTokutei = 15,
JpGaikokuDerivativeTokutei = 16,
}Expand description
JP子账户类型
Variants§
None = 0
未知
JpGeneral = 1
日本-一般口座-long
JpTokutei = 2
日本-特定口座-long
JpNisaGeneral = 3
日本-一般NISA
JpNisaTsumitate = 4
日本-累计NISA
JpGeneralShort = 5
JP支持信用账户新增如下六种子账户类型
日本-一般口座-Short
JpTokuteiShort = 6
日本-特定口座-Short
JpHonpoGeneral = 7
日本-本国信用交易抵押品-一般
JpGaikokuGeneral = 8
日本-外国信用交易抵押品-一般
JpHonpoTokutei = 9
日本-本国信用交易抵押品-特定
JpGaikokuTokutei = 10
日本-外国信用交易抵押品-特定
JpDerivativeLong = 11
JP支持衍生品账户新增如下六种子账户类型
日本-衍生品-Long
JpDerivativeShort = 12
日本-衍生品-Short
JpHonpoDerivativeGeneral = 13
日本-本国衍生品证据金-一般
JpGaikokuDerivativeGeneral = 14
日本-外国衍生品证据金-一般
JpHonpoDerivativeTokutei = 15
日本-本国衍生品证据金-特定
JpGaikokuDerivativeTokutei = 16
日本-外国衍生品证据金-特定
Implementations§
Source§impl TrdSubAccType
impl TrdSubAccType
Source§impl TrdSubAccType
impl TrdSubAccType
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 TrdSubAccType
impl Clone for TrdSubAccType
Source§fn clone(&self) -> TrdSubAccType
fn clone(&self) -> TrdSubAccType
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 TrdSubAccType
impl Debug for TrdSubAccType
Source§impl Default for TrdSubAccType
impl Default for TrdSubAccType
Source§fn default() -> TrdSubAccType
fn default() -> TrdSubAccType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrdSubAccType
impl<'de> Deserialize<'de> for TrdSubAccType
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 From<TrdSubAccType> for i32
impl From<TrdSubAccType> for i32
Source§fn from(value: TrdSubAccType) -> i32
fn from(value: TrdSubAccType) -> i32
Converts to this type from the input type.
Source§impl Hash for TrdSubAccType
impl Hash for TrdSubAccType
Source§impl Ord for TrdSubAccType
impl Ord for TrdSubAccType
Source§fn cmp(&self, other: &TrdSubAccType) -> Ordering
fn cmp(&self, other: &TrdSubAccType) -> 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 TrdSubAccType
impl PartialEq for TrdSubAccType
Source§impl PartialOrd for TrdSubAccType
impl PartialOrd for TrdSubAccType
Source§impl Serialize for TrdSubAccType
impl Serialize for TrdSubAccType
Source§impl TryFrom<i32> for TrdSubAccType
impl TryFrom<i32> for TrdSubAccType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<TrdSubAccType, UnknownEnumValue>
fn try_from(value: i32) -> Result<TrdSubAccType, UnknownEnumValue>
Performs the conversion.
impl Copy for TrdSubAccType
impl Eq for TrdSubAccType
impl StructuralPartialEq for TrdSubAccType
Auto Trait Implementations§
impl Freeze for TrdSubAccType
impl RefUnwindSafe for TrdSubAccType
impl Send for TrdSubAccType
impl Sync for TrdSubAccType
impl Unpin for TrdSubAccType
impl UnwindSafe for TrdSubAccType
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