pub enum GetTradingScheduleGetTrsrvSecdefScheduleResponse {
Ok(TradingSchedule),
BadRequest,
Unauthorized,
InternalServerError,
ServiceUnavailable,
Unknown,
}Expand description
Response types for getTradingSchedule_get_trsrv_secdef_schedule
Variants§
Ok(TradingSchedule)
200: Returns the trading schedule up to a month for the requested contract.
BadRequest
400: Invalid input format or missing required fields
401: Invalid or expired access token
InternalServerError
500: internal server error, returned when incoming request cannot be processed. It can sometimes include subset of bad requests. For example, wrong accountId passed and it can only be detected later in handling request. Error contains reason of the problem.
503: service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for GetTradingScheduleGetTrsrvSecdefScheduleResponse
impl Clone for GetTradingScheduleGetTrsrvSecdefScheduleResponse
Source§fn clone(&self) -> GetTradingScheduleGetTrsrvSecdefScheduleResponse
fn clone(&self) -> GetTradingScheduleGetTrsrvSecdefScheduleResponse
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 moreAuto Trait Implementations§
impl Freeze for GetTradingScheduleGetTrsrvSecdefScheduleResponse
impl RefUnwindSafe for GetTradingScheduleGetTrsrvSecdefScheduleResponse
impl Send for GetTradingScheduleGetTrsrvSecdefScheduleResponse
impl Sync for GetTradingScheduleGetTrsrvSecdefScheduleResponse
impl Unpin for GetTradingScheduleGetTrsrvSecdefScheduleResponse
impl UnsafeUnpin for GetTradingScheduleGetTrsrvSecdefScheduleResponse
impl UnwindSafe for GetTradingScheduleGetTrsrvSecdefScheduleResponse
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