pub struct CreateAllocationGroupRequest {
pub body: GroupRequestBody2,
}Expand description
Add a new allocation group. This group can be used to trade in place of the {accountId} for the /iserver/account/{accountId}/orders endpoint.
Fields§
§body: GroupRequestBody2Implementations§
Source§impl CreateAllocationGroupRequest
impl CreateAllocationGroupRequest
Sourcepub async fn parse_response(
req: Response,
) -> Result<CreateAllocationGroupResponse>
pub async fn parse_response( req: Response, ) -> Result<CreateAllocationGroupResponse>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for CreateAllocationGroupRequest
impl Clone for CreateAllocationGroupRequest
Source§fn clone(&self) -> CreateAllocationGroupRequest
fn clone(&self) -> CreateAllocationGroupRequest
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 CreateAllocationGroupRequest
impl Debug for CreateAllocationGroupRequest
Source§impl<'v_a> ValidateArgs<'v_a> for CreateAllocationGroupRequest
impl<'v_a> ValidateArgs<'v_a> for CreateAllocationGroupRequest
Auto Trait Implementations§
impl Freeze for CreateAllocationGroupRequest
impl RefUnwindSafe for CreateAllocationGroupRequest
impl Send for CreateAllocationGroupRequest
impl Sync for CreateAllocationGroupRequest
impl Unpin for CreateAllocationGroupRequest
impl UnsafeUnpin for CreateAllocationGroupRequest
impl UnwindSafe for CreateAllocationGroupRequest
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