pub struct TransactionsResponseTransaction {
pub acctid: Option<String>,
pub amt: Option<f64>,
pub conid: Option<i32>,
pub cur: Option<String>,
pub date: Option<String>,
pub desc: Option<String>,
pub fx_rate: Option<i32>,
pub pr: Option<f64>,
pub qty: Option<i32>,
pub type: Option<String>,
}Fields§
§acctid: Option<String>Returns the account which made the transaction.
amt: Option<f64>Returns the total value of the trade.
conid: Option<i32>Returns the contract identifier.
cur: Option<String>Returns the currency of the traded insturment.
date: Option<String>Reutrns the human-readable datetime of the transaction.
desc: Option<String>Returns the long name for the company.
fx_rate: Option<i32>Returns the forex conversion rate.
pr: Option<f64>Returns the price per share of the transaction.
qty: Option<i32>Returns the total quantity traded. Will display a negative value for sell orders, and a positive value for buy orders.
type: Option<String>Returns the order side.
Trait Implementations§
Source§impl Clone for TransactionsResponseTransaction
impl Clone for TransactionsResponseTransaction
Source§fn clone(&self) -> TransactionsResponseTransaction
fn clone(&self) -> TransactionsResponseTransaction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for TransactionsResponseTransaction
impl<'de> Deserialize<'de> for TransactionsResponseTransaction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransactionsResponseTransaction
impl PartialEq for TransactionsResponseTransaction
Source§fn eq(&self, other: &TransactionsResponseTransaction) -> bool
fn eq(&self, other: &TransactionsResponseTransaction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransactionsResponseTransaction
Auto Trait Implementations§
impl Freeze for TransactionsResponseTransaction
impl RefUnwindSafe for TransactionsResponseTransaction
impl Send for TransactionsResponseTransaction
impl Sync for TransactionsResponseTransaction
impl Unpin for TransactionsResponseTransaction
impl UnsafeUnpin for TransactionsResponseTransaction
impl UnwindSafe for TransactionsResponseTransaction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more
§fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
§fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
Add request id header and extension. Read more
§fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
Add request id header and extension, using
x-request-id as the header name. Read more§fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
Propgate request ids from requests to responses. Read more
§fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
Propgate request ids from requests to responses, using
x-request-id as the header name. Read more§fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
Intercept requests with over-sized payloads and convert them into
413 Payload Too Large responses. Read more