pub struct NotificationRequestBody {
pub order_id: Option<i32>,
pub req_id: Option<String>,
pub text: Option<String>,
}Fields§
§order_id: Option<i32>IB-assigned order identifier obtained from the ntf websocket message that delivered the server prompt.
- Example:
Some(987_654_321i32)
req_id: Option<String>IB-assigned request identifier obtained from the ntf websocket message that delivered the server prompt.
- Example:
Some("12345".to_string())
text: Option<String>The selected value from the “options” array delivered in the server prompt ntf websocket message.
- Example:
Some("Yes".to_string())
Trait Implementations§
Source§impl Clone for NotificationRequestBody
impl Clone for NotificationRequestBody
Source§fn clone(&self) -> NotificationRequestBody
fn clone(&self) -> NotificationRequestBody
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NotificationRequestBody
impl Debug for NotificationRequestBody
Source§impl Default for NotificationRequestBody
impl Default for NotificationRequestBody
Source§impl PartialEq for NotificationRequestBody
impl PartialEq for NotificationRequestBody
Source§impl Serialize for NotificationRequestBody
impl Serialize for NotificationRequestBody
impl StructuralPartialEq for NotificationRequestBody
Auto Trait Implementations§
impl Freeze for NotificationRequestBody
impl RefUnwindSafe for NotificationRequestBody
impl Send for NotificationRequestBody
impl Sync for NotificationRequestBody
impl Unpin for NotificationRequestBody
impl UnsafeUnpin for NotificationRequestBody
impl UnwindSafe for NotificationRequestBody
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