#[repr(i32)]pub enum SessionId {
Show 17 variants
Unspecified = 0,
Previous = 1,
Connected = 2,
OpeningOnePrice = 3,
OnePrice = 4,
ClosingOnePrice = 5,
ViOnePrice = 6,
ViOpeningOnePrice = 7,
ViClosingOnePrice = 8,
UnitTrade = 9,
PostMarket = 10,
AuctionBid = 11,
AuctionAsk = 12,
Suspended = 13,
Shutdown = 14,
Closed = 15,
Etc = 16,
}Expand description
KRX 세부 세션 ID (16-state)
Variants§
Unspecified = 0
Previous = 1
장개시전
Connected = 2
연결됨
OpeningOnePrice = 3
시가단일가
OnePrice = 4
단일가
ClosingOnePrice = 5
종가단일가
ViOnePrice = 6
VI장중단일가
ViOpeningOnePrice = 7
VI시가단일가
ViClosingOnePrice = 8
VI종가단일가
UnitTrade = 9
단위매매
PostMarket = 10
장종료후호가접수
AuctionBid = 11
경매매수호가 접수 세션
AuctionAsk = 12
경매매도호가 접수 세션
Suspended = 13
거래정지
Shutdown = 14
셧다운
Closed = 15
장마감
Etc = 16
기타
Implementations§
Source§impl SessionId
impl SessionId
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§
impl Copy for SessionId
§impl<'de> Deserialize<'de> for SessionId
impl<'de> Deserialize<'de> for SessionId
§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
impl Eq for SessionId
Source§impl Ord for SessionId
impl Ord for SessionId
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 PartialOrd for SessionId
impl PartialOrd for SessionId
impl StructuralPartialEq for SessionId
Auto Trait Implementations§
impl Freeze for SessionId
impl RefUnwindSafe for SessionId
impl Send for SessionId
impl Sync for SessionId
impl Unpin for SessionId
impl UnsafeUnpin for SessionId
impl UnwindSafe for SessionId
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request