diff --git a/v2/java/allclasses-index.html b/v2/java/allclasses-index.html index 853ef1a26..217c11816 100644 --- a/v2/java/allclasses-index.html +++ b/v2/java/allclasses-index.html @@ -2,10 +2,10 @@
- +pub enum Error {
+Error in longport - Rust pub enum Error {
DecodeProtobuf(DecodeError),
- DecodeJSON(Error),
+ DecodeJSON(Error),
ParseField {
- name: &'static str,
- error: String,
+ name: &'static str,
+ error: String,
},
- UnknownCommand(u8),
+ UnknownCommand(u8),
InvalidSecuritySymbol {
- symbol: String,
+ symbol: String,
},
HttpClient(HttpClientError),
WsClient(WsClientError),
}
Expand description
LongPort OpenAPI SDK error type
Variants§
§DecodeProtobuf(DecodeError)
Decode Protobuf error
-§DecodeJSON(Error)
Decode JSON error
+§DecodeJSON(Error)
Decode JSON error
§ParseField
Parse field
-§UnknownCommand(u8)
Unknown command
-Tuple Fields
§0: u8
Command code
+§UnknownCommand(u8)
Unknown command
+§InvalidSecuritySymbol
Invalid security symbol
-Fields
§symbol: String
Security symbol
+§HttpClient(HttpClientError)
HTTP client error
§WsClient(WsClientError)
Websocket client error
Implementations§
Source§impl Error
Sourcepub fn into_simple_error(self) -> SimpleError
Consumes this error and returns a simple error
-Trait Implementations§
Source§impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<DecodeError> for Error
Source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.Source§impl From<Error> for SimpleError
Auto Trait Implementations§
§impl !Freeze for Error
§impl !RefUnwindSafe for Error
§impl Send for Error
§impl Sync for Error
§impl Unpin for Error
§impl !UnwindSafe for Error
Blanket Implementations§
Trait Implementations§
Source§impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<DecodeError> for Error
Source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.Source§impl From<Error> for SimpleError
Auto Trait Implementations§
§impl !Freeze for Error
§impl !RefUnwindSafe for Error
§impl Send for Error
§impl Sync for Error
§impl Unpin for Error
§impl !UnwindSafe for Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/enum.Language.html b/v2/rust/longport/enum.Language.html
index 7924f9bcf..c5fad65b6 100644
--- a/v2/rust/longport/enum.Language.html
+++ b/v2/rust/longport/enum.Language.html
@@ -1,4 +1,4 @@
-Language in longport - Rust #[repr(i32)]pub enum Language {
+Language in longport - Rust #[repr(i32)]pub enum Language {
ZH_CN = 0,
ZH_HK = 2,
EN = 1,
@@ -6,32 +6,32 @@
Variants§
Trait Implementations§
Source§impl Copy for Language
Source§impl Eq for Language
Source§impl StructuralPartialEq for Language
Auto Trait Implementations§
§impl Freeze for Language
§impl RefUnwindSafe for Language
§impl Send for Language
§impl Sync for Language
§impl Unpin for Language
§impl UnwindSafe for Language
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Copy for Language
Source§impl Eq for Language
Source§impl StructuralPartialEq for Language
Auto Trait Implementations§
§impl Freeze for Language
§impl RefUnwindSafe for Language
§impl Send for Language
§impl Sync for Language
§impl Unpin for Language
§impl UnwindSafe for Language
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/enum.Market.html b/v2/rust/longport/enum.Market.html
index b58f06783..7e1ab913e 100644
--- a/v2/rust/longport/enum.Market.html
+++ b/v2/rust/longport/enum.Market.html
@@ -1,4 +1,4 @@
-Market in longport - Rust pub enum Market {
+Market in longport - Rust pub enum Market {
Unknown,
US,
HK,
@@ -10,34 +10,34 @@
§HK
HK market
§CN
CN market
§SG
SG market
-
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Market
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moreSource§impl Copy for Market
Source§impl Eq for Market
Source§impl StructuralPartialEq for Market
Auto Trait Implementations§
§impl Freeze for Market
§impl RefUnwindSafe for Market
§impl Send for Market
§impl Sync for Market
§impl Unpin for Market
§impl UnwindSafe for Market
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Market
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moreSource§impl Copy for Market
Source§impl Eq for Market
Source§impl StructuralPartialEq for Market
Auto Trait Implementations§
§impl Freeze for Market
§impl RefUnwindSafe for Market
§impl Send for Market
§impl Sync for Market
§impl Unpin for Market
§impl UnwindSafe for Market
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/enum.PushCandlestickMode.html b/v2/rust/longport/enum.PushCandlestickMode.html
index ee87c38e6..5ec57ecbb 100644
--- a/v2/rust/longport/enum.PushCandlestickMode.html
+++ b/v2/rust/longport/enum.PushCandlestickMode.html
@@ -1,34 +1,34 @@
-PushCandlestickMode in longport - Rust pub enum PushCandlestickMode {
+PushCandlestickMode in longport - Rust pub enum PushCandlestickMode {
Realtime,
Confirmed,
}
Expand description
Push mode for candlestick
Variants§
Trait Implementations§
Source§impl Clone for PushCandlestickMode
Source§fn clone(&self) -> PushCandlestickMode
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for PushCandlestickMode
Source§impl Default for PushCandlestickMode
Source§fn default() -> PushCandlestickMode
Returns the “default value” for a type. Read moreSource§impl PartialEq for PushCandlestickMode
Source§impl Copy for PushCandlestickMode
Source§impl Eq for PushCandlestickMode
Source§impl StructuralPartialEq for PushCandlestickMode
Auto Trait Implementations§
§impl Freeze for PushCandlestickMode
§impl RefUnwindSafe for PushCandlestickMode
§impl Send for PushCandlestickMode
§impl Sync for PushCandlestickMode
§impl Unpin for PushCandlestickMode
§impl UnwindSafe for PushCandlestickMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Clone for PushCandlestickMode
Source§fn clone(&self) -> PushCandlestickMode
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for PushCandlestickMode
Source§impl Default for PushCandlestickMode
Source§fn default() -> PushCandlestickMode
Returns the “default value” for a type. Read moreSource§impl PartialEq for PushCandlestickMode
Source§impl Copy for PushCandlestickMode
Source§impl Eq for PushCandlestickMode
Source§impl StructuralPartialEq for PushCandlestickMode
Auto Trait Implementations§
§impl Freeze for PushCandlestickMode
§impl RefUnwindSafe for PushCandlestickMode
§impl Send for PushCandlestickMode
§impl Sync for PushCandlestickMode
§impl Unpin for PushCandlestickMode
§impl UnwindSafe for PushCandlestickMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/enum.SimpleError.html b/v2/rust/longport/enum.SimpleError.html
index 337b50800..a0d450e35 100644
--- a/v2/rust/longport/enum.SimpleError.html
+++ b/v2/rust/longport/enum.SimpleError.html
@@ -1,42 +1,42 @@
-SimpleError in longport - Rust pub enum SimpleError {
+SimpleError in longport - Rust pub enum SimpleError {
Response {
- code: i64,
- message: String,
- trace_id: String,
+ code: i64,
+ message: String,
+ trace_id: String,
},
- Other(String),
+ Other(String),
}
Expand description
Simple error type
Variants§
Implementations§
Trait Implementations§
Source§impl Debug for SimpleError
Source§impl Display for SimpleError
Source§impl Error for SimpleError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for SimpleError
§impl RefUnwindSafe for SimpleError
§impl Send for SimpleError
§impl Sync for SimpleError
§impl Unpin for SimpleError
§impl UnwindSafe for SimpleError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> From<T> for T
Implementations§
Trait Implementations§
Source§impl Debug for SimpleError
Source§impl Display for SimpleError
Source§impl Error for SimpleError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for SimpleError
§impl RefUnwindSafe for SimpleError
§impl Send for SimpleError
§impl Sync for SimpleError
§impl Unpin for SimpleError
§impl UnwindSafe for SimpleError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/index.html b/v2/rust/longport/index.html
index cefd0e9bf..0708c53fe 100644
--- a/v2/rust/longport/index.html
+++ b/v2/rust/longport/index.html
@@ -1,4 +1,4 @@
-longport - Rust Expand description
§LongPort OpenAPI SDK for Rust
+longport - Rust Expand description
§LongPort OpenAPI SDK for Rust
diff --git a/v2/rust/longport/macro.decimal.html b/v2/rust/longport/macro.decimal.html
index 1647fd909..70b416ef3 100644
--- a/v2/rust/longport/macro.decimal.html
+++ b/v2/rust/longport/macro.decimal.html
@@ -1,4 +1,4 @@
-decimal in longport - Rust macro_rules! decimal {
+decimal in longport - Rust macro_rules! decimal {
($value:expr) => { ... };
}
Expand description
A macro to construct decimal.
§Examples
diff --git a/v2/rust/longport/quote/enum.AdjustType.html b/v2/rust/longport/quote/enum.AdjustType.html
index 2ab8ac571..94805cbaa 100644
--- a/v2/rust/longport/quote/enum.AdjustType.html
+++ b/v2/rust/longport/quote/enum.AdjustType.html
@@ -1,53 +1,53 @@
-AdjustType in longport::quote - Rust Enum AdjustType
#[repr(i32)]pub enum AdjustType {
+AdjustType in longport::quote - Rust Enum AdjustType
#[repr(i32)]pub enum AdjustType {
NoAdjust = 0,
ForwardAdjust = 1,
-}
Variants§
Implementations§
§impl AdjustType
§impl AdjustType
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
+}Variants§
Implementations§
§impl AdjustType
§impl AdjustType
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.
-pub fn from_str_name(value: &str) -> Option<AdjustType>
Creates an enum from field names used in the ProtoBuf definition.
-Trait Implementations§
§impl Clone for AdjustType
§fn clone(&self) -> AdjustType
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more§impl Debug for AdjustType
§impl Default for AdjustType
§fn default() -> AdjustType
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for AdjustType
§fn deserialize<__D>(
+
pub fn from_str_name(value: &str) -> Option<AdjustType>
Creates an enum from field names used in the ProtoBuf definition.
+Trait Implementations§
§impl Clone for AdjustType
§fn clone(&self) -> AdjustType
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more§impl Debug for AdjustType
§impl Default for AdjustType
§fn default() -> AdjustType
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for AdjustType
§fn deserialize<__D>(
__deserializer: __D,
-) -> Result<AdjustType, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Hash for AdjustType
§impl Ord for AdjustType
§impl PartialEq for AdjustType
§impl PartialOrd for AdjustType
§impl Serialize for AdjustType
§fn serialize<__S>(
+) -> Result<AdjustType, <__D as Deserializer<'de>>::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Hash for AdjustType
§impl Ord for AdjustType
§impl PartialEq for AdjustType
§impl PartialOrd for AdjustType
§impl Serialize for AdjustType
§fn serialize<__S>(
&self,
__serializer: __S,
-) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl TryFrom<i32> for AdjustType
§type Error = UnknownEnumValue
The type returned in the event of a conversion error.§fn try_from(value: i32) -> Result<AdjustType, UnknownEnumValue>
Performs the conversion.§impl Copy for AdjustType
§impl Eq for AdjustType
§impl StructuralPartialEq for AdjustType
Auto Trait Implementations§
§impl Freeze for AdjustType
§impl RefUnwindSafe for AdjustType
§impl Send for AdjustType
§impl Sync for AdjustType
§impl Unpin for AdjustType
§impl UnwindSafe for AdjustType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
+) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
+ __S: Serializer,Serialize this value into the given Serde serializer. Read more§impl TryFrom<i32> for AdjustType
§type Error = UnknownEnumValue
The type returned in the event of a conversion error.§fn try_from(value: i32) -> Result<AdjustType, UnknownEnumValue>
Performs the conversion.§impl Copy for AdjustType
§impl Eq for AdjustType
§impl StructuralPartialEq for AdjustType
Auto Trait Implementations§
§impl Freeze for AdjustType
§impl RefUnwindSafe for AdjustType
§impl Send for AdjustType
§impl Sync for AdjustType
§impl Unpin for AdjustType
§impl UnwindSafe for AdjustType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/enum.CalcIndex.html b/v2/rust/longport/quote/enum.CalcIndex.html
index 856ec1a26..9d84aabb0 100644
--- a/v2/rust/longport/quote/enum.CalcIndex.html
+++ b/v2/rust/longport/quote/enum.CalcIndex.html
@@ -1,4 +1,4 @@
-CalcIndex in longport::quote - Rust pub enum CalcIndex {
+CalcIndex in longport::quote - Rust pub enum CalcIndex {
Show 40 variants
LastDone,
ChangeValue,
ChangeRate,
@@ -80,31 +80,31 @@
§Theta
Theta
§Vega
Vega
§Rho
Rho
-
Trait Implementations§
Source§impl Copy for CalcIndex
Source§impl Eq for CalcIndex
Source§impl StructuralPartialEq for CalcIndex
Auto Trait Implementations§
§impl Freeze for CalcIndex
§impl RefUnwindSafe for CalcIndex
§impl Send for CalcIndex
§impl Sync for CalcIndex
§impl Unpin for CalcIndex
§impl UnwindSafe for CalcIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Copy for CalcIndex
Source§impl Eq for CalcIndex
Source§impl StructuralPartialEq for CalcIndex
Auto Trait Implementations§
§impl Freeze for CalcIndex
§impl RefUnwindSafe for CalcIndex
§impl Send for CalcIndex
§impl Sync for CalcIndex
§impl Unpin for CalcIndex
§impl UnwindSafe for CalcIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/quote/enum.FilterWarrantExpiryDate.html b/v2/rust/longport/quote/enum.FilterWarrantExpiryDate.html
index 41ec85058..78059d8ac 100644
--- a/v2/rust/longport/quote/enum.FilterWarrantExpiryDate.html
+++ b/v2/rust/longport/quote/enum.FilterWarrantExpiryDate.html
@@ -1,4 +1,4 @@
-FilterWarrantExpiryDate in longport::quote - Rust #[repr(i32)]pub enum FilterWarrantExpiryDate {
+FilterWarrantExpiryDate in longport::quote - Rust #[repr(i32)]pub enum FilterWarrantExpiryDate {
LT_3 = 1,
Between_3_6 = 2,
Between_6_12 = 3,
@@ -8,33 +8,33 @@
§Between_3_6 = 2
3 - 6 months
§Between_6_12 = 3
6 - 12 months
§GT_12 = 4
Greater than 12 months
-
Trait Implementations§
Source§impl Clone for FilterWarrantExpiryDate
Source§fn clone(&self) -> FilterWarrantExpiryDate
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for FilterWarrantExpiryDate
Source§impl From<FilterWarrantExpiryDate> for i32
Source§fn from(enum_value: FilterWarrantExpiryDate) -> Self
Converts to this type from the input type.Source§impl Hash for FilterWarrantExpiryDate
Source§impl PartialEq for FilterWarrantExpiryDate
Source§impl Copy for FilterWarrantExpiryDate
Source§impl Eq for FilterWarrantExpiryDate
Source§impl StructuralPartialEq for FilterWarrantExpiryDate
Auto Trait Implementations§
§impl Freeze for FilterWarrantExpiryDate
§impl RefUnwindSafe for FilterWarrantExpiryDate
§impl Send for FilterWarrantExpiryDate
§impl Sync for FilterWarrantExpiryDate
§impl Unpin for FilterWarrantExpiryDate
§impl UnwindSafe for FilterWarrantExpiryDate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Clone for FilterWarrantExpiryDate
Source§fn clone(&self) -> FilterWarrantExpiryDate
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for FilterWarrantExpiryDate
Source§impl From<FilterWarrantExpiryDate> for i32
Source§fn from(enum_value: FilterWarrantExpiryDate) -> Self
Converts to this type from the input type.Source§impl Hash for FilterWarrantExpiryDate
Source§impl PartialEq for FilterWarrantExpiryDate
Source§impl Copy for FilterWarrantExpiryDate
Source§impl Eq for FilterWarrantExpiryDate
Source§impl StructuralPartialEq for FilterWarrantExpiryDate
Auto Trait Implementations§
§impl Freeze for FilterWarrantExpiryDate
§impl RefUnwindSafe for FilterWarrantExpiryDate
§impl Send for FilterWarrantExpiryDate
§impl Sync for FilterWarrantExpiryDate
§impl Unpin for FilterWarrantExpiryDate
§impl UnwindSafe for FilterWarrantExpiryDate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/quote/enum.FilterWarrantInOutBoundsType.html b/v2/rust/longport/quote/enum.FilterWarrantInOutBoundsType.html
index 95deec2ab..7e84e317c 100644
--- a/v2/rust/longport/quote/enum.FilterWarrantInOutBoundsType.html
+++ b/v2/rust/longport/quote/enum.FilterWarrantInOutBoundsType.html
@@ -1,36 +1,36 @@
-FilterWarrantInOutBoundsType in longport::quote - Rust #[repr(i32)]pub enum FilterWarrantInOutBoundsType {
+FilterWarrantInOutBoundsType in longport::quote - Rust #[repr(i32)]pub enum FilterWarrantInOutBoundsType {
In = 1,
Out = 2,
}
Expand description
Filter warrant in/out of the bounds type
Variants§
Trait Implementations§
Source§impl Clone for FilterWarrantInOutBoundsType
Source§fn clone(&self) -> FilterWarrantInOutBoundsType
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for FilterWarrantInOutBoundsType
Source§impl From<FilterWarrantInOutBoundsType> for i32
Source§fn from(enum_value: FilterWarrantInOutBoundsType) -> Self
Converts to this type from the input type.Source§impl Hash for FilterWarrantInOutBoundsType
Source§impl PartialEq for FilterWarrantInOutBoundsType
Source§fn eq(&self, other: &FilterWarrantInOutBoundsType) -> bool
Tests for self
and other
values to be equal, and is used by ==
.Source§impl Copy for FilterWarrantInOutBoundsType
Source§impl Eq for FilterWarrantInOutBoundsType
Source§impl StructuralPartialEq for FilterWarrantInOutBoundsType
Auto Trait Implementations§
§impl Freeze for FilterWarrantInOutBoundsType
§impl RefUnwindSafe for FilterWarrantInOutBoundsType
§impl Send for FilterWarrantInOutBoundsType
§impl Sync for FilterWarrantInOutBoundsType
§impl Unpin for FilterWarrantInOutBoundsType
§impl UnwindSafe for FilterWarrantInOutBoundsType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Clone for FilterWarrantInOutBoundsType
Source§fn clone(&self) -> FilterWarrantInOutBoundsType
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for FilterWarrantInOutBoundsType
Source§impl From<FilterWarrantInOutBoundsType> for i32
Source§fn from(enum_value: FilterWarrantInOutBoundsType) -> Self
Converts to this type from the input type.Source§impl Hash for FilterWarrantInOutBoundsType
Source§impl PartialEq for FilterWarrantInOutBoundsType
Source§fn eq(&self, other: &FilterWarrantInOutBoundsType) -> bool
Tests for self
and other
values to be equal, and is used by ==
.Source§impl Copy for FilterWarrantInOutBoundsType
Source§impl Eq for FilterWarrantInOutBoundsType
Source§impl StructuralPartialEq for FilterWarrantInOutBoundsType
Auto Trait Implementations§
§impl Freeze for FilterWarrantInOutBoundsType
§impl RefUnwindSafe for FilterWarrantInOutBoundsType
§impl Send for FilterWarrantInOutBoundsType
§impl Sync for FilterWarrantInOutBoundsType
§impl Unpin for FilterWarrantInOutBoundsType
§impl UnwindSafe for FilterWarrantInOutBoundsType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/quote/enum.OptionDirection.html b/v2/rust/longport/quote/enum.OptionDirection.html
index 293d7172e..bf8b1bc90 100644
--- a/v2/rust/longport/quote/enum.OptionDirection.html
+++ b/v2/rust/longport/quote/enum.OptionDirection.html
@@ -1,4 +1,4 @@
-OptionDirection in longport::quote - Rust pub enum OptionDirection {
+OptionDirection in longport::quote - Rust pub enum OptionDirection {
Unknown,
Put,
Call,
@@ -6,35 +6,35 @@
Variants§
Trait Implementations§
Source§impl Clone for OptionDirection
Source§fn clone(&self) -> OptionDirection
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for OptionDirection
Source§impl Default for OptionDirection
Source§impl<'de> Deserialize<'de> for OptionDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl FromStr for OptionDirection
Source§impl Hash for OptionDirection
Source§impl PartialEq for OptionDirection
Source§impl Serialize for OptionDirection
Source§impl TryFrom<&str> for OptionDirection
Source§impl Copy for OptionDirection
Source§impl Eq for OptionDirection
Source§impl StructuralPartialEq for OptionDirection
Auto Trait Implementations§
§impl Freeze for OptionDirection
§impl RefUnwindSafe for OptionDirection
§impl Send for OptionDirection
§impl Sync for OptionDirection
§impl Unpin for OptionDirection
§impl UnwindSafe for OptionDirection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Clone for OptionDirection
Source§fn clone(&self) -> OptionDirection
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for OptionDirection
Source§impl Default for OptionDirection
Source§impl<'de> Deserialize<'de> for OptionDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl FromStr for OptionDirection
Source§impl Hash for OptionDirection
Source§impl PartialEq for OptionDirection
Source§impl Serialize for OptionDirection
Source§impl TryFrom<&str> for OptionDirection
Source§impl Copy for OptionDirection
Source§impl Eq for OptionDirection
Source§impl StructuralPartialEq for OptionDirection
Auto Trait Implementations§
§impl Freeze for OptionDirection
§impl RefUnwindSafe for OptionDirection
§impl Send for OptionDirection
§impl Sync for OptionDirection
§impl Unpin for OptionDirection
§impl UnwindSafe for OptionDirection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/enum.OptionType.html b/v2/rust/longport/quote/enum.OptionType.html
index 4d7c7cf7a..853d406c0 100644
--- a/v2/rust/longport/quote/enum.OptionType.html
+++ b/v2/rust/longport/quote/enum.OptionType.html
@@ -1,4 +1,4 @@
-OptionType in longport::quote - Rust pub enum OptionType {
+OptionType in longport::quote - Rust pub enum OptionType {
Unknown,
American,
Europe,
@@ -6,35 +6,35 @@
Variants§
Trait Implementations§
Source§impl Clone for OptionType
Source§fn clone(&self) -> OptionType
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for OptionType
Source§impl Default for OptionType
Source§impl<'de> Deserialize<'de> for OptionType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl FromStr for OptionType
Source§impl Hash for OptionType
Source§impl PartialEq for OptionType
Source§impl Serialize for OptionType
Source§impl TryFrom<&str> for OptionType
Source§impl Copy for OptionType
Source§impl Eq for OptionType
Source§impl StructuralPartialEq for OptionType
Auto Trait Implementations§
§impl Freeze for OptionType
§impl RefUnwindSafe for OptionType
§impl Send for OptionType
§impl Sync for OptionType
§impl Unpin for OptionType
§impl UnwindSafe for OptionType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Clone for OptionType
Source§fn clone(&self) -> OptionType
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for OptionType
Source§impl Default for OptionType
Source§impl<'de> Deserialize<'de> for OptionType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl FromStr for OptionType
Source§impl Hash for OptionType
Source§impl PartialEq for OptionType
Source§impl Serialize for OptionType
Source§impl TryFrom<&str> for OptionType
Source§impl Copy for OptionType
Source§impl Eq for OptionType
Source§impl StructuralPartialEq for OptionType
Auto Trait Implementations§
§impl Freeze for OptionType
§impl RefUnwindSafe for OptionType
§impl Send for OptionType
§impl Sync for OptionType
§impl Unpin for OptionType
§impl UnwindSafe for OptionType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/enum.Period.html b/v2/rust/longport/quote/enum.Period.html
index 9e932dfb3..6dbe807fb 100644
--- a/v2/rust/longport/quote/enum.Period.html
+++ b/v2/rust/longport/quote/enum.Period.html
@@ -1,4 +1,4 @@
-Period in longport::quote - Rust Enum Period
#[repr(i32)]pub enum Period {
+Period in longport::quote - Rust Enum Period
#[repr(i32)]pub enum Period {
Show 19 variants
UnknownPeriod = 0,
OneMinute = 1,
TwoMinute = 2,
@@ -18,53 +18,53 @@
Month = 3_000,
Quarter = 3_500,
Year = 4_000,
-}
Variants§
§UnknownPeriod = 0
§OneMinute = 1
§TwoMinute = 2
§ThreeMinute = 3
§FiveMinute = 5
§TenMinute = 10
§FifteenMinute = 15
§TwentyMinute = 20
§ThirtyMinute = 30
§FortyFiveMinute = 45
§SixtyMinute = 60
§TwoHour = 120
§ThreeHour = 180
§FourHour = 240
§Day = 1_000
§Week = 2_000
§Month = 3_000
§Quarter = 3_500
§Year = 4_000
Implementations§
§impl Period
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
+}Variants§
§UnknownPeriod = 0
§OneMinute = 1
§TwoMinute = 2
§ThreeMinute = 3
§FiveMinute = 5
§TenMinute = 10
§FifteenMinute = 15
§TwentyMinute = 20
§ThirtyMinute = 30
§FortyFiveMinute = 45
§SixtyMinute = 60
§TwoHour = 120
§ThreeHour = 180
§FourHour = 240
§Day = 1_000
§Week = 2_000
§Month = 3_000
§Quarter = 3_500
§Year = 4_000
Implementations§
§impl Period
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.
-pub fn from_str_name(value: &str) -> Option<Period>
Creates an enum from field names used in the ProtoBuf definition.
-Trait Implementations§
§impl<'de> Deserialize<'de> for Period
§fn deserialize<__D>(
+
pub fn from_str_name(value: &str) -> Option<Period>
Creates an enum from field names used in the ProtoBuf definition.
+Trait Implementations§
§impl<'de> Deserialize<'de> for Period
§fn deserialize<__D>(
__deserializer: __D,
-) -> Result<Period, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Ord for Period
§impl PartialOrd for Period
§impl Serialize for Period
§fn serialize<__S>(
+) -> Result<Period, <__D as Deserializer<'de>>::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Ord for Period
§impl PartialOrd for Period
§impl Serialize for Period
§fn serialize<__S>(
&self,
__serializer: __S,
-) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl TryFrom<i32> for Period
§type Error = UnknownEnumValue
The type returned in the event of a conversion error.§impl Copy for Period
§impl Eq for Period
§impl StructuralPartialEq for Period
Auto Trait Implementations§
§impl Freeze for Period
§impl RefUnwindSafe for Period
§impl Send for Period
§impl Sync for Period
§impl Unpin for Period
§impl UnwindSafe for Period
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
+) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
+ __S: Serializer,Serialize this value into the given Serde serializer. Read more§impl TryFrom<i32> for Period
§type Error = UnknownEnumValue
The type returned in the event of a conversion error.§impl Copy for Period
§impl Eq for Period
§impl StructuralPartialEq for Period
Auto Trait Implementations§
§impl Freeze for Period
§impl RefUnwindSafe for Period
§impl Send for Period
§impl Sync for Period
§impl Unpin for Period
§impl UnwindSafe for Period
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/enum.PushEventDetail.html b/v2/rust/longport/quote/enum.PushEventDetail.html
index a2630fa23..e07590662 100644
--- a/v2/rust/longport/quote/enum.PushEventDetail.html
+++ b/v2/rust/longport/quote/enum.PushEventDetail.html
@@ -1,4 +1,4 @@
-PushEventDetail in longport::quote - Rust pub enum PushEventDetail {
+PushEventDetail in longport::quote - Rust pub enum PushEventDetail {
Quote(PushQuote),
Depth(PushDepth),
Brokers(PushBrokers),
@@ -10,28 +10,28 @@
§Brokers(PushBrokers)
Brokers
§Trade(PushTrades)
Trade
§Candlestick(PushCandlestick)
Candlestick
-
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for PushEventDetail
§impl RefUnwindSafe for PushEventDetail
§impl Send for PushEventDetail
§impl Sync for PushEventDetail
§impl Unpin for PushEventDetail
§impl UnwindSafe for PushEventDetail
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> From<T> for T
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for PushEventDetail
§impl RefUnwindSafe for PushEventDetail
§impl Send for PushEventDetail
§impl Sync for PushEventDetail
§impl Unpin for PushEventDetail
§impl UnwindSafe for PushEventDetail
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/quote/enum.SecuritiesUpdateMode.html b/v2/rust/longport/quote/enum.SecuritiesUpdateMode.html
index d120514ce..176f6dc6e 100644
--- a/v2/rust/longport/quote/enum.SecuritiesUpdateMode.html
+++ b/v2/rust/longport/quote/enum.SecuritiesUpdateMode.html
@@ -1,4 +1,4 @@
-SecuritiesUpdateMode in longport::quote - Rust pub enum SecuritiesUpdateMode {
+SecuritiesUpdateMode in longport::quote - Rust pub enum SecuritiesUpdateMode {
Add,
Remove,
Replace,
@@ -6,31 +6,31 @@
Variants§
Trait Implementations§
Source§impl Clone for SecuritiesUpdateMode
Source§fn clone(&self) -> SecuritiesUpdateMode
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for SecuritiesUpdateMode
Source§impl Default for SecuritiesUpdateMode
Source§fn default() -> SecuritiesUpdateMode
Returns the “default value” for a type. Read moreSource§impl Serialize for SecuritiesUpdateMode
Source§impl Copy for SecuritiesUpdateMode
Auto Trait Implementations§
§impl Freeze for SecuritiesUpdateMode
§impl RefUnwindSafe for SecuritiesUpdateMode
§impl Send for SecuritiesUpdateMode
§impl Sync for SecuritiesUpdateMode
§impl Unpin for SecuritiesUpdateMode
§impl UnwindSafe for SecuritiesUpdateMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Clone for SecuritiesUpdateMode
Source§fn clone(&self) -> SecuritiesUpdateMode
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for SecuritiesUpdateMode
Source§impl Default for SecuritiesUpdateMode
Source§fn default() -> SecuritiesUpdateMode
Returns the “default value” for a type. Read moreSource§impl Serialize for SecuritiesUpdateMode
Source§impl Copy for SecuritiesUpdateMode
Auto Trait Implementations§
§impl Freeze for SecuritiesUpdateMode
§impl RefUnwindSafe for SecuritiesUpdateMode
§impl Send for SecuritiesUpdateMode
§impl Sync for SecuritiesUpdateMode
§impl Unpin for SecuritiesUpdateMode
§impl UnwindSafe for SecuritiesUpdateMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/quote/enum.SecurityBoard.html b/v2/rust/longport/quote/enum.SecurityBoard.html
index 34031caf3..9b9fe061b 100644
--- a/v2/rust/longport/quote/enum.SecurityBoard.html
+++ b/v2/rust/longport/quote/enum.SecurityBoard.html
@@ -1,4 +1,4 @@
-SecurityBoard in longport::quote - Rust pub enum SecurityBoard {
+SecurityBoard in longport::quote - Rust pub enum SecurityBoard {
Show 25 variants
Unknown,
USMain,
USPink,
@@ -50,36 +50,36 @@
§SGMain
SG Main Board
§STI
Singapore Straits Index
§SGSector
SG Industry Board
-
Trait Implementations§
Source§impl Clone for SecurityBoard
Source§fn clone(&self) -> SecurityBoard
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for SecurityBoard
Source§impl Default for SecurityBoard
Source§impl<'de> Deserialize<'de> for SecurityBoard
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for SecurityBoard
Source§impl FromStr for SecurityBoard
Source§impl Hash for SecurityBoard
Source§impl PartialEq for SecurityBoard
Source§impl Serialize for SecurityBoard
Source§impl TryFrom<&str> for SecurityBoard
Source§impl Copy for SecurityBoard
Source§impl Eq for SecurityBoard
Source§impl StructuralPartialEq for SecurityBoard
Auto Trait Implementations§
§impl Freeze for SecurityBoard
§impl RefUnwindSafe for SecurityBoard
§impl Send for SecurityBoard
§impl Sync for SecurityBoard
§impl Unpin for SecurityBoard
§impl UnwindSafe for SecurityBoard
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Clone for SecurityBoard
Source§fn clone(&self) -> SecurityBoard
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for SecurityBoard
Source§impl Default for SecurityBoard
Source§impl<'de> Deserialize<'de> for SecurityBoard
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for SecurityBoard
Source§impl FromStr for SecurityBoard
Source§impl Hash for SecurityBoard
Source§impl PartialEq for SecurityBoard
Source§impl Serialize for SecurityBoard
Source§impl TryFrom<&str> for SecurityBoard
Source§impl Copy for SecurityBoard
Source§impl Eq for SecurityBoard
Source§impl StructuralPartialEq for SecurityBoard
Auto Trait Implementations§
§impl Freeze for SecurityBoard
§impl RefUnwindSafe for SecurityBoard
§impl Send for SecurityBoard
§impl Sync for SecurityBoard
§impl Unpin for SecurityBoard
§impl UnwindSafe for SecurityBoard
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/enum.SecurityListCategory.html b/v2/rust/longport/quote/enum.SecurityListCategory.html
index d491e61d8..163611e00 100644
--- a/v2/rust/longport/quote/enum.SecurityListCategory.html
+++ b/v2/rust/longport/quote/enum.SecurityListCategory.html
@@ -1,37 +1,37 @@
-SecurityListCategory in longport::quote - Rust pub enum SecurityListCategory {
+SecurityListCategory in longport::quote - Rust pub enum SecurityListCategory {
Overnight,
}
Expand description
Security list category
Variants§
§Overnight
Overnight
-Trait Implementations§
Source§impl Clone for SecurityListCategory
Source§fn clone(&self) -> SecurityListCategory
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for SecurityListCategory
Source§impl Display for SecurityListCategory
Source§impl FromStr for SecurityListCategory
Source§impl Hash for SecurityListCategory
Source§impl PartialEq for SecurityListCategory
Source§impl Serialize for SecurityListCategory
Source§impl TryFrom<&str> for SecurityListCategory
Source§impl Copy for SecurityListCategory
Source§impl Eq for SecurityListCategory
Source§impl StructuralPartialEq for SecurityListCategory
Auto Trait Implementations§
§impl Freeze for SecurityListCategory
§impl RefUnwindSafe for SecurityListCategory
§impl Send for SecurityListCategory
§impl Sync for SecurityListCategory
§impl Unpin for SecurityListCategory
§impl UnwindSafe for SecurityListCategory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Clone for SecurityListCategory
Source§fn clone(&self) -> SecurityListCategory
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for SecurityListCategory
Source§impl Display for SecurityListCategory
Source§impl FromStr for SecurityListCategory
Source§impl Hash for SecurityListCategory
Source§impl PartialEq for SecurityListCategory
Source§impl Serialize for SecurityListCategory
Source§impl TryFrom<&str> for SecurityListCategory
Source§impl Copy for SecurityListCategory
Source§impl Eq for SecurityListCategory
Source§impl StructuralPartialEq for SecurityListCategory
Auto Trait Implementations§
§impl Freeze for SecurityListCategory
§impl RefUnwindSafe for SecurityListCategory
§impl Send for SecurityListCategory
§impl Sync for SecurityListCategory
§impl Unpin for SecurityListCategory
§impl UnwindSafe for SecurityListCategory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/quote/enum.SortOrderType.html b/v2/rust/longport/quote/enum.SortOrderType.html
index d8678e048..0b794159f 100644
--- a/v2/rust/longport/quote/enum.SortOrderType.html
+++ b/v2/rust/longport/quote/enum.SortOrderType.html
@@ -1,36 +1,36 @@
-SortOrderType in longport::quote - Rust #[repr(i32)]pub enum SortOrderType {
+SortOrderType in longport::quote - Rust #[repr(i32)]pub enum SortOrderType {
Ascending = 0,
Descending = 1,
}
Expand description
Sort order type
Variants§
Trait Implementations§
Source§impl Clone for SortOrderType
Source§fn clone(&self) -> SortOrderType
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for SortOrderType
Source§impl From<SortOrderType> for i32
Source§fn from(enum_value: SortOrderType) -> Self
Converts to this type from the input type.Source§impl Hash for SortOrderType
Source§impl PartialEq for SortOrderType
Source§impl Copy for SortOrderType
Source§impl Eq for SortOrderType
Source§impl StructuralPartialEq for SortOrderType
Auto Trait Implementations§
§impl Freeze for SortOrderType
§impl RefUnwindSafe for SortOrderType
§impl Send for SortOrderType
§impl Sync for SortOrderType
§impl Unpin for SortOrderType
§impl UnwindSafe for SortOrderType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Clone for SortOrderType
Source§fn clone(&self) -> SortOrderType
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for SortOrderType
Source§impl From<SortOrderType> for i32
Source§fn from(enum_value: SortOrderType) -> Self
Converts to this type from the input type.Source§impl Hash for SortOrderType
Source§impl PartialEq for SortOrderType
Source§impl Copy for SortOrderType
Source§impl Eq for SortOrderType
Source§impl StructuralPartialEq for SortOrderType
Auto Trait Implementations§
§impl Freeze for SortOrderType
§impl RefUnwindSafe for SortOrderType
§impl Send for SortOrderType
§impl Sync for SortOrderType
§impl Unpin for SortOrderType
§impl UnwindSafe for SortOrderType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/quote/enum.TradeDirection.html b/v2/rust/longport/quote/enum.TradeDirection.html
index 8762a6e26..381173774 100644
--- a/v2/rust/longport/quote/enum.TradeDirection.html
+++ b/v2/rust/longport/quote/enum.TradeDirection.html
@@ -1,4 +1,4 @@
-TradeDirection in longport::quote - Rust #[repr(i32)]pub enum TradeDirection {
+TradeDirection in longport::quote - Rust #[repr(i32)]pub enum TradeDirection {
Neutral = 0,
Down = 1,
Up = 2,
@@ -6,35 +6,35 @@
Variants§
Trait Implementations§
Source§impl Clone for TradeDirection
Source§fn clone(&self) -> TradeDirection
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for TradeDirection
Source§impl<'de> Deserialize<'de> for TradeDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<i32> for TradeDirection
Source§impl FromPrimitive for TradeDirection
Source§impl Hash for TradeDirection
Source§impl PartialEq for TradeDirection
Source§impl Serialize for TradeDirection
Source§impl Copy for TradeDirection
Source§impl Eq for TradeDirection
Source§impl StructuralPartialEq for TradeDirection
Auto Trait Implementations§
§impl Freeze for TradeDirection
§impl RefUnwindSafe for TradeDirection
§impl Send for TradeDirection
§impl Sync for TradeDirection
§impl Unpin for TradeDirection
§impl UnwindSafe for TradeDirection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Clone for TradeDirection
Source§fn clone(&self) -> TradeDirection
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for TradeDirection
Source§impl<'de> Deserialize<'de> for TradeDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<i32> for TradeDirection
Source§impl FromPrimitive for TradeDirection
Source§impl Hash for TradeDirection
Source§impl PartialEq for TradeDirection
Source§impl Serialize for TradeDirection
Source§impl Copy for TradeDirection
Source§impl Eq for TradeDirection
Source§impl StructuralPartialEq for TradeDirection
Auto Trait Implementations§
§impl Freeze for TradeDirection
§impl RefUnwindSafe for TradeDirection
§impl Send for TradeDirection
§impl Sync for TradeDirection
§impl Unpin for TradeDirection
§impl UnwindSafe for TradeDirection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/enum.TradeSession.html b/v2/rust/longport/quote/enum.TradeSession.html
index facf1d332..8708fb94f 100644
--- a/v2/rust/longport/quote/enum.TradeSession.html
+++ b/v2/rust/longport/quote/enum.TradeSession.html
@@ -1,55 +1,55 @@
-TradeSession in longport::quote - Rust Enum TradeSession
#[repr(i32)]pub enum TradeSession {
+TradeSession in longport::quote - Rust Enum TradeSession
#[repr(i32)]pub enum TradeSession {
NormalTrade = 0,
PreTrade = 1,
PostTrade = 2,
OvernightTrade = 3,
-}
Variants§
Implementations§
§impl TradeSession
§impl TradeSession
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
+}Variants§
Implementations§
§impl TradeSession
§impl TradeSession
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.
-pub fn from_str_name(value: &str) -> Option<TradeSession>
Creates an enum from field names used in the ProtoBuf definition.
-Trait Implementations§
§impl Clone for TradeSession
§fn clone(&self) -> TradeSession
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more§impl Debug for TradeSession
§impl Default for TradeSession
§fn default() -> TradeSession
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for TradeSession
§fn deserialize<__D>(
+
pub fn from_str_name(value: &str) -> Option<TradeSession>
Creates an enum from field names used in the ProtoBuf definition.
+Trait Implementations§
§impl Clone for TradeSession
§fn clone(&self) -> TradeSession
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more§impl Debug for TradeSession
§impl Default for TradeSession
§fn default() -> TradeSession
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for TradeSession
§fn deserialize<__D>(
__deserializer: __D,
-) -> Result<TradeSession, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Hash for TradeSession
§impl Ord for TradeSession
§fn cmp(&self, other: &TradeSession) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
- Self: Sized,
Compares and returns the maximum of two values. Read more§impl PartialEq for TradeSession
§impl PartialOrd for TradeSession
§impl Serialize for TradeSession
§fn serialize<__S>(
+) -> Result<TradeSession, <__D as Deserializer<'de>>::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Hash for TradeSession
§impl Ord for TradeSession
§fn cmp(&self, other: &TradeSession) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
+ Self: Sized,
Compares and returns the maximum of two values. Read more§impl PartialEq for TradeSession
§impl PartialOrd for TradeSession
§impl Serialize for TradeSession
§fn serialize<__S>(
&self,
__serializer: __S,
-) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl TryFrom<i32> for TradeSession
§type Error = UnknownEnumValue
The type returned in the event of a conversion error.§fn try_from(value: i32) -> Result<TradeSession, UnknownEnumValue>
Performs the conversion.§impl Copy for TradeSession
§impl Eq for TradeSession
§impl StructuralPartialEq for TradeSession
Auto Trait Implementations§
§impl Freeze for TradeSession
§impl RefUnwindSafe for TradeSession
§impl Send for TradeSession
§impl Sync for TradeSession
§impl Unpin for TradeSession
§impl UnwindSafe for TradeSession
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
+) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
+ __S: Serializer,Serialize this value into the given Serde serializer. Read more§impl TryFrom<i32> for TradeSession
§type Error = UnknownEnumValue
The type returned in the event of a conversion error.§fn try_from(value: i32) -> Result<TradeSession, UnknownEnumValue>
Performs the conversion.§impl Copy for TradeSession
§impl Eq for TradeSession
§impl StructuralPartialEq for TradeSession
Auto Trait Implementations§
§impl Freeze for TradeSession
§impl RefUnwindSafe for TradeSession
§impl Send for TradeSession
§impl Sync for TradeSession
§impl Unpin for TradeSession
§impl UnwindSafe for TradeSession
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/enum.TradeStatus.html b/v2/rust/longport/quote/enum.TradeStatus.html
index 0e55388d5..12f59d33c 100644
--- a/v2/rust/longport/quote/enum.TradeStatus.html
+++ b/v2/rust/longport/quote/enum.TradeStatus.html
@@ -1,4 +1,4 @@
-TradeStatus in longport::quote - Rust Enum TradeStatus
#[repr(i32)]pub enum TradeStatus {
+TradeStatus in longport::quote - Rust Enum TradeStatus
#[repr(i32)]pub enum TradeStatus {
Normal = 0,
Halted = 1,
Delisted = 2,
@@ -10,53 +10,53 @@
Expired = 8,
WarrantPrepareList = 9,
SuspendTrade = 10,
-}
Variants§
§Normal = 0
§Halted = 1
§Delisted = 2
§Fuse = 3
§PrepareList = 4
§CodeMoved = 5
§ToBeOpened = 6
§SplitStockHalts = 7
§Expired = 8
§WarrantPrepareList = 9
§SuspendTrade = 10
Implementations§
§impl TradeStatus
§impl TradeStatus
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
+}Variants§
§Normal = 0
§Halted = 1
§Delisted = 2
§Fuse = 3
§PrepareList = 4
§CodeMoved = 5
§ToBeOpened = 6
§SplitStockHalts = 7
§Expired = 8
§WarrantPrepareList = 9
§SuspendTrade = 10
Implementations§
§impl TradeStatus
§impl TradeStatus
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.
-pub fn from_str_name(value: &str) -> Option<TradeStatus>
Creates an enum from field names used in the ProtoBuf definition.
-Trait Implementations§
§impl Clone for TradeStatus
§fn clone(&self) -> TradeStatus
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more§impl Debug for TradeStatus
§impl Default for TradeStatus
§fn default() -> TradeStatus
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for TradeStatus
§fn deserialize<__D>(
+
pub fn from_str_name(value: &str) -> Option<TradeStatus>
Creates an enum from field names used in the ProtoBuf definition.
+Trait Implementations§
§impl Clone for TradeStatus
§fn clone(&self) -> TradeStatus
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more§impl Debug for TradeStatus
§impl Default for TradeStatus
§fn default() -> TradeStatus
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for TradeStatus
§fn deserialize<__D>(
__deserializer: __D,
-) -> Result<TradeStatus, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Hash for TradeStatus
§impl Ord for TradeStatus
§impl PartialEq for TradeStatus
§impl PartialOrd for TradeStatus
§impl Serialize for TradeStatus
§fn serialize<__S>(
+) -> Result<TradeStatus, <__D as Deserializer<'de>>::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Hash for TradeStatus
§impl Ord for TradeStatus
§impl PartialEq for TradeStatus
§impl PartialOrd for TradeStatus
§impl Serialize for TradeStatus
§fn serialize<__S>(
&self,
__serializer: __S,
-) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl TryFrom<i32> for TradeStatus
§type Error = UnknownEnumValue
The type returned in the event of a conversion error.§fn try_from(value: i32) -> Result<TradeStatus, UnknownEnumValue>
Performs the conversion.§impl Copy for TradeStatus
§impl Eq for TradeStatus
§impl StructuralPartialEq for TradeStatus
Auto Trait Implementations§
§impl Freeze for TradeStatus
§impl RefUnwindSafe for TradeStatus
§impl Send for TradeStatus
§impl Sync for TradeStatus
§impl Unpin for TradeStatus
§impl UnwindSafe for TradeStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
+) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
+ __S: Serializer,Serialize this value into the given Serde serializer. Read more§impl TryFrom<i32> for TradeStatus
§type Error = UnknownEnumValue
The type returned in the event of a conversion error.§fn try_from(value: i32) -> Result<TradeStatus, UnknownEnumValue>
Performs the conversion.§impl Copy for TradeStatus
§impl Eq for TradeStatus
§impl StructuralPartialEq for TradeStatus
Auto Trait Implementations§
§impl Freeze for TradeStatus
§impl RefUnwindSafe for TradeStatus
§impl Send for TradeStatus
§impl Sync for TradeStatus
§impl Unpin for TradeStatus
§impl UnwindSafe for TradeStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/enum.WarrantSortBy.html b/v2/rust/longport/quote/enum.WarrantSortBy.html
index 96f6296f1..480b5e754 100644
--- a/v2/rust/longport/quote/enum.WarrantSortBy.html
+++ b/v2/rust/longport/quote/enum.WarrantSortBy.html
@@ -1,4 +1,4 @@
-WarrantSortBy in longport::quote - Rust #[repr(i32)]pub enum WarrantSortBy {
+WarrantSortBy in longport::quote - Rust #[repr(i32)]pub enum WarrantSortBy {
Show 22 variants
LastDone = 0,
ChangeRate = 1,
ChangeValue = 2,
@@ -44,33 +44,33 @@
§ConversionRatio = 19
Conversion ratio
§BalancePoint = 20
Breakeven point
§Status = 21
Status
-
Trait Implementations§
Source§impl Clone for WarrantSortBy
Source§fn clone(&self) -> WarrantSortBy
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for WarrantSortBy
Source§impl From<WarrantSortBy> for i32
Source§fn from(enum_value: WarrantSortBy) -> Self
Converts to this type from the input type.Source§impl Hash for WarrantSortBy
Source§impl PartialEq for WarrantSortBy
Source§impl Copy for WarrantSortBy
Source§impl Eq for WarrantSortBy
Source§impl StructuralPartialEq for WarrantSortBy
Auto Trait Implementations§
§impl Freeze for WarrantSortBy
§impl RefUnwindSafe for WarrantSortBy
§impl Send for WarrantSortBy
§impl Sync for WarrantSortBy
§impl Unpin for WarrantSortBy
§impl UnwindSafe for WarrantSortBy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Trait Implementations§
Source§impl Clone for WarrantSortBy
Source§fn clone(&self) -> WarrantSortBy
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for WarrantSortBy
Source§impl From<WarrantSortBy> for i32
Source§fn from(enum_value: WarrantSortBy) -> Self
Converts to this type from the input type.Source§impl Hash for WarrantSortBy
Source§impl PartialEq for WarrantSortBy
Source§impl Copy for WarrantSortBy
Source§impl Eq for WarrantSortBy
Source§impl StructuralPartialEq for WarrantSortBy
Auto Trait Implementations§
§impl Freeze for WarrantSortBy
§impl RefUnwindSafe for WarrantSortBy
§impl Send for WarrantSortBy
§impl Sync for WarrantSortBy
§impl Unpin for WarrantSortBy
§impl UnwindSafe for WarrantSortBy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/v2/rust/longport/quote/enum.WarrantStatus.html b/v2/rust/longport/quote/enum.WarrantStatus.html
index 1dd95d499..1751a1cb6 100644
--- a/v2/rust/longport/quote/enum.WarrantStatus.html
+++ b/v2/rust/longport/quote/enum.WarrantStatus.html
@@ -1,4 +1,4 @@
-WarrantStatus in longport::quote - Rust #[repr(i32)]pub enum WarrantStatus {
+WarrantStatus in longport::quote - Rust #[repr(i32)]pub enum WarrantStatus {
Suspend = 2,
PrepareList = 3,
Normal = 4,
@@ -6,37 +6,37 @@
Variants§
Trait Implementations§
Source§impl Clone for WarrantStatus
Source§fn clone(&self) -> WarrantStatus
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for WarrantStatus
Source§impl<'de> Deserialize<'de> for WarrantStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<WarrantStatus> for i32
Source§fn from(enum_value: WarrantStatus) -> Self
Converts to this type from the input type.Source§impl Hash for WarrantStatus
Source§impl PartialEq for WarrantStatus
Source§impl Serialize for WarrantStatus
Source§impl TryFrom<i32> for WarrantStatus
Trait Implementations§
Source§impl Clone for WarrantStatus
Source§fn clone(&self) -> WarrantStatus
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for WarrantStatus
Source§impl<'de> Deserialize<'de> for WarrantStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<WarrantStatus> for i32
Source§fn from(enum_value: WarrantStatus) -> Self
Converts to this type from the input type.Source§impl Hash for WarrantStatus
Source§impl PartialEq for WarrantStatus
Source§impl Serialize for WarrantStatus
Source§impl TryFrom<i32> for WarrantStatus
Source§impl TryFromPrimitive for WarrantStatus
Source§impl Copy for WarrantStatus
Source§impl Eq for WarrantStatus
Source§impl StructuralPartialEq for WarrantStatus
Auto Trait Implementations§
§impl Freeze for WarrantStatus
§impl RefUnwindSafe for WarrantStatus
§impl Send for WarrantStatus
§impl Sync for WarrantStatus
§impl Unpin for WarrantStatus
§impl UnwindSafe for WarrantStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
+) -> Result<Self, TryFromPrimitiveError<Self>>Source§impl Copy for WarrantStatus
Source§impl Eq for WarrantStatus
Source§impl StructuralPartialEq for WarrantStatus
Auto Trait Implementations§
§impl Freeze for WarrantStatus
§impl RefUnwindSafe for WarrantStatus
§impl Send for WarrantStatus
§impl Sync for WarrantStatus
§impl Unpin for WarrantStatus
§impl UnwindSafe for WarrantStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/enum.WarrantType.html b/v2/rust/longport/quote/enum.WarrantType.html
index 547b7fdf0..e975a9b8a 100644
--- a/v2/rust/longport/quote/enum.WarrantType.html
+++ b/v2/rust/longport/quote/enum.WarrantType.html
@@ -1,4 +1,4 @@
-WarrantType in longport::quote - Rust #[repr(i32)]pub enum WarrantType {
+WarrantType in longport::quote - Rust #[repr(i32)]pub enum WarrantType {
Unknown = -1,
Call = 0,
Put = 1,
@@ -12,37 +12,37 @@
§Bull = 2
Bull
§Bear = 3
Bear
§Inline = 4
Inline
-
Trait Implementations§
Source§impl Clone for WarrantType
Source§fn clone(&self) -> WarrantType
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for WarrantType
Source§impl Default for WarrantType
Source§impl<'de> Deserialize<'de> for WarrantType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<WarrantType> for i32
Source§fn from(enum_value: WarrantType) -> Self
Converts to this type from the input type.Source§impl FromStr for WarrantType
Source§impl Hash for WarrantType
Source§impl PartialEq for WarrantType
Source§impl Serialize for WarrantType
Source§impl TryFrom<&str> for WarrantType
Source§impl TryFrom<i32> for WarrantType
Trait Implementations§
Source§impl Clone for WarrantType
Source§fn clone(&self) -> WarrantType
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for WarrantType
Source§impl Default for WarrantType
Source§impl<'de> Deserialize<'de> for WarrantType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<WarrantType> for i32
Source§fn from(enum_value: WarrantType) -> Self
Converts to this type from the input type.Source§impl FromStr for WarrantType
Source§impl Hash for WarrantType
Source§impl PartialEq for WarrantType
Source§impl Serialize for WarrantType
Source§impl TryFrom<&str> for WarrantType
Source§impl TryFrom<i32> for WarrantType
Source§impl TryFromPrimitive for WarrantType
Source§impl Copy for WarrantType
Source§impl Eq for WarrantType
Source§impl StructuralPartialEq for WarrantType
Auto Trait Implementations§
§impl Freeze for WarrantType
§impl RefUnwindSafe for WarrantType
§impl Send for WarrantType
§impl Sync for WarrantType
§impl Unpin for WarrantType
§impl UnwindSafe for WarrantType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
+) -> Result<Self, TryFromPrimitiveError<Self>>Source§impl Copy for WarrantType
Source§impl Eq for WarrantType
Source§impl StructuralPartialEq for WarrantType
Auto Trait Implementations§
§impl Freeze for WarrantType
§impl RefUnwindSafe for WarrantType
§impl Send for WarrantType
§impl Sync for WarrantType
§impl Unpin for WarrantType
§impl UnwindSafe for WarrantType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/index.html b/v2/rust/longport/quote/index.html
index 73ca4532d..b4da72ab8 100644
--- a/v2/rust/longport/quote/index.html
+++ b/v2/rust/longport/quote/index.html
@@ -1,2 +1,2 @@
-longport::quote - Rust Expand description
Quote related types
+longport::quote - Rust Expand description
Quote related types
Structs§
- Brokers
- Candlestick
- Capital distribution
- Capital distribution response
- Capital flow line
- Depth
- Derivative type
- Intraday line
- Issuer info
- Market trading days
- Market trading session
- Quote of option
- Participant info
- Quote of US pre/post market
- Brokers message
- Candlestick updated message
- Depth message
- Push event
- Quote message
- Trades message
- Quote context
- Quote package detail
- Real-time quote
- An request for create watchlist group
- An request for update watchlist group
- The basic information of securities
- Security brokers
- Security calc index response
- Security depth
- Quote of securitity
- The basic information of securities
- Strike price info
- Subscription flags
- Subscription
- Trade
- The information of trading session
- Warrant info
- Quote of warrant
- Watchlist group
- Watchlist security
Enums§
- Calc index
- Filter warrant expiry date type
- Filter warrant in/out of the bounds type
- Option direction
- Option type
- Push event detail
- Securities update mode
- Security board
- Security list category
- Sort order type
- Trade direction
- Warrant sort by
- Warrant status
- Warrant type
\ No newline at end of file
diff --git a/v2/rust/longport/quote/struct.Brokers.html b/v2/rust/longport/quote/struct.Brokers.html
index f001f9a77..f4878f64d 100644
--- a/v2/rust/longport/quote/struct.Brokers.html
+++ b/v2/rust/longport/quote/struct.Brokers.html
@@ -1,35 +1,35 @@
-Brokers in longport::quote - Rust pub struct Brokers {
- pub position: i32,
- pub broker_ids: Vec<i32>,
+Brokers in longport::quote - Rust pub struct Brokers {
+ pub position: i32,
+ pub broker_ids: Vec<i32>,
}
Expand description
Brokers
-Fields§
§position: i32
Position
-§broker_ids: Vec<i32>
Broker IDs
-Trait Implementations§
Source§impl<'de> Deserialize<'de> for Brokers
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for Brokers
§impl RefUnwindSafe for Brokers
§impl Send for Brokers
§impl Sync for Brokers
§impl Unpin for Brokers
§impl UnwindSafe for Brokers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Fields§
§position: i32
Position
+§broker_ids: Vec<i32>
Broker IDs
+Trait Implementations§
Source§impl<'de> Deserialize<'de> for Brokers
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for Brokers
§impl RefUnwindSafe for Brokers
§impl Send for Brokers
§impl Sync for Brokers
§impl Unpin for Brokers
§impl UnwindSafe for Brokers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/struct.Candlestick.html b/v2/rust/longport/quote/struct.Candlestick.html
index 9dabfdff4..31bfd83a8 100644
--- a/v2/rust/longport/quote/struct.Candlestick.html
+++ b/v2/rust/longport/quote/struct.Candlestick.html
@@ -1,9 +1,9 @@
-Candlestick in longport::quote - Rust pub struct Candlestick {
+Candlestick in longport::quote - Rust pub struct Candlestick {
pub close: Decimal,
pub open: Decimal,
pub low: Decimal,
pub high: Decimal,
- pub volume: i64,
+ pub volume: i64,
pub turnover: Decimal,
pub timestamp: OffsetDateTime,
}
Expand description
Candlestick
@@ -11,35 +11,35 @@
§open: Decimal
Open price
§low: Decimal
Low price
§high: Decimal
High price
-§volume: i64
Volume
+§volume: i64
Volume
§turnover: Decimal
Turnover
§timestamp: OffsetDateTime
Timestamp
-Trait Implementations§
Source§impl Clone for Candlestick
Source§fn clone(&self) -> Candlestick
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for Candlestick
Source§impl<'de> Deserialize<'de> for Candlestick
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<Candlestick> for Candlestick
Source§impl From<Candlestick> for Candlestick
Source§fn from(candlestick: Candlestick) -> Self
Converts to this type from the input type.Source§impl Serialize for Candlestick
Source§impl TryFrom<Candlestick> for Candlestick
Source§impl Copy for Candlestick
Auto Trait Implementations§
§impl Freeze for Candlestick
§impl RefUnwindSafe for Candlestick
§impl Send for Candlestick
§impl Sync for Candlestick
§impl Unpin for Candlestick
§impl UnwindSafe for Candlestick
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
+Trait Implementations§
Source§impl Clone for Candlestick
Source§fn clone(&self) -> Candlestick
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for Candlestick
Source§impl<'de> Deserialize<'de> for Candlestick
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<Candlestick> for Candlestick
Source§impl From<Candlestick> for Candlestick
Source§fn from(candlestick: Candlestick) -> Self
Converts to this type from the input type.Source§impl Serialize for Candlestick
Source§impl TryFrom<Candlestick> for Candlestick
Source§impl Copy for Candlestick
Auto Trait Implementations§
§impl Freeze for Candlestick
§impl RefUnwindSafe for Candlestick
§impl Send for Candlestick
§impl Sync for Candlestick
§impl Unpin for Candlestick
§impl UnwindSafe for Candlestick
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/struct.CapitalDistribution.html b/v2/rust/longport/quote/struct.CapitalDistribution.html
index 8a9074639..f34b70cfd 100644
--- a/v2/rust/longport/quote/struct.CapitalDistribution.html
+++ b/v2/rust/longport/quote/struct.CapitalDistribution.html
@@ -1,4 +1,4 @@
-CapitalDistribution in longport::quote - Rust pub struct CapitalDistribution {
+CapitalDistribution in longport::quote - Rust pub struct CapitalDistribution {
pub large: Decimal,
pub medium: Decimal,
pub small: Decimal,
@@ -6,32 +6,32 @@
Fields§
§large: Decimal
Large order
§medium: Decimal
Medium order
§small: Decimal
Small order
-Trait Implementations§
Source§impl Clone for CapitalDistribution
Source§fn clone(&self) -> CapitalDistribution
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for CapitalDistribution
Source§impl Default for CapitalDistribution
Source§fn default() -> CapitalDistribution
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for CapitalDistribution
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Serialize for CapitalDistribution
Auto Trait Implementations§
§impl Freeze for CapitalDistribution
§impl RefUnwindSafe for CapitalDistribution
§impl Send for CapitalDistribution
§impl Sync for CapitalDistribution
§impl Unpin for CapitalDistribution
§impl UnwindSafe for CapitalDistribution
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
+Trait Implementations§
Source§impl Clone for CapitalDistribution
Source§fn clone(&self) -> CapitalDistribution
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for CapitalDistribution
Source§impl Default for CapitalDistribution
Source§fn default() -> CapitalDistribution
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for CapitalDistribution
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Serialize for CapitalDistribution
Auto Trait Implementations§
§impl Freeze for CapitalDistribution
§impl RefUnwindSafe for CapitalDistribution
§impl Send for CapitalDistribution
§impl Sync for CapitalDistribution
§impl Unpin for CapitalDistribution
§impl UnwindSafe for CapitalDistribution
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/struct.CapitalDistributionResponse.html b/v2/rust/longport/quote/struct.CapitalDistributionResponse.html
index 861d976ef..92954438a 100644
--- a/v2/rust/longport/quote/struct.CapitalDistributionResponse.html
+++ b/v2/rust/longport/quote/struct.CapitalDistributionResponse.html
@@ -1,4 +1,4 @@
-CapitalDistributionResponse in longport::quote - Rust pub struct CapitalDistributionResponse {
+CapitalDistributionResponse in longport::quote - Rust pub struct CapitalDistributionResponse {
pub timestamp: OffsetDateTime,
pub capital_in: CapitalDistribution,
pub capital_out: CapitalDistribution,
@@ -6,32 +6,32 @@
Fields§
§timestamp: OffsetDateTime
Time
§capital_in: CapitalDistribution
Inflow capital data
§capital_out: CapitalDistribution
Outflow capital data
-Trait Implementations§
Source§impl Clone for CapitalDistributionResponse
Source§fn clone(&self) -> CapitalDistributionResponse
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for CapitalDistributionResponse
Source§impl<'de> Deserialize<'de> for CapitalDistributionResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for CapitalDistributionResponse
§impl RefUnwindSafe for CapitalDistributionResponse
§impl Send for CapitalDistributionResponse
§impl Sync for CapitalDistributionResponse
§impl Unpin for CapitalDistributionResponse
§impl UnwindSafe for CapitalDistributionResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
+Trait Implementations§
Source§impl Clone for CapitalDistributionResponse
Source§fn clone(&self) -> CapitalDistributionResponse
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for CapitalDistributionResponse
Source§impl<'de> Deserialize<'de> for CapitalDistributionResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for CapitalDistributionResponse
§impl RefUnwindSafe for CapitalDistributionResponse
§impl Send for CapitalDistributionResponse
§impl Sync for CapitalDistributionResponse
§impl Unpin for CapitalDistributionResponse
§impl UnwindSafe for CapitalDistributionResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/struct.CapitalFlowLine.html b/v2/rust/longport/quote/struct.CapitalFlowLine.html
index a17f6bea9..21970e537 100644
--- a/v2/rust/longport/quote/struct.CapitalFlowLine.html
+++ b/v2/rust/longport/quote/struct.CapitalFlowLine.html
@@ -1,35 +1,35 @@
-CapitalFlowLine in longport::quote - Rust pub struct CapitalFlowLine {
+CapitalFlowLine in longport::quote - Rust pub struct CapitalFlowLine {
pub inflow: Decimal,
pub timestamp: OffsetDateTime,
}
Expand description
Capital flow line
Fields§
§inflow: Decimal
Inflow capital data
§timestamp: OffsetDateTime
Time
-Trait Implementations§
Source§impl Clone for CapitalFlowLine
Source§fn clone(&self) -> CapitalFlowLine
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for CapitalFlowLine
Source§impl<'de> Deserialize<'de> for CapitalFlowLine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Serialize for CapitalFlowLine
Auto Trait Implementations§
§impl Freeze for CapitalFlowLine
§impl RefUnwindSafe for CapitalFlowLine
§impl Send for CapitalFlowLine
§impl Sync for CapitalFlowLine
§impl Unpin for CapitalFlowLine
§impl UnwindSafe for CapitalFlowLine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
Source§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
+Trait Implementations§
Source§impl Clone for CapitalFlowLine
Source§fn clone(&self) -> CapitalFlowLine
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for CapitalFlowLine
Source§impl<'de> Deserialize<'de> for CapitalFlowLine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Serialize for CapitalFlowLine
Auto Trait Implementations§
§impl Freeze for CapitalFlowLine
§impl RefUnwindSafe for CapitalFlowLine
§impl Send for CapitalFlowLine
§impl Sync for CapitalFlowLine
§impl Unpin for CapitalFlowLine
§impl UnwindSafe for CapitalFlowLine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
-otherwise. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
+ S: Into<Dispatch>,§fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ErasedDestructor for Twhere
diff --git a/v2/rust/longport/quote/struct.Depth.html b/v2/rust/longport/quote/struct.Depth.html
index f98b28a5e..b41d590e5 100644
--- a/v2/rust/longport/quote/struct.Depth.html
+++ b/v2/rust/longport/quote/struct.Depth.html
@@ -1,39 +1,39 @@
-Depth in longport::quote - Rust