pub struct BuildBorrowOperateTransactionBuilder<'a> { /* private fields */ }Expand description
Additive request builder for buildBorrowOperateTransaction.
Implementations§
Source§impl<'a> BuildBorrowOperateTransactionBuilder<'a>
impl<'a> BuildBorrowOperateTransactionBuilder<'a>
Sourcepub fn market(self, market: LendBorrowMarket) -> Self
pub fn market(self, market: LendBorrowMarket) -> Self
Set the optional market operation parameter.
Sourcepub fn request(self, request: LendBorrowOperatePayload) -> Self
pub fn request(self, request: LendBorrowOperatePayload) -> Self
Replace the complete request body.
Sourcepub fn position_owner(self, position_owner: String) -> Self
pub fn position_owner(self, position_owner: String) -> Self
Set the optional request-body field positionOwner.
Sourcepub async fn send(
self,
) -> Result<LendBorrowOperateTransactionResponse, ApiOpError<Value>>
pub async fn send( self, ) -> Result<LendBorrowOperateTransactionResponse, ApiOpError<Value>>
Send the request through the existing flat operation method.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for BuildBorrowOperateTransactionBuilder<'a>
impl<'a> !UnwindSafe for BuildBorrowOperateTransactionBuilder<'a>
impl<'a> Freeze for BuildBorrowOperateTransactionBuilder<'a>
impl<'a> Send for BuildBorrowOperateTransactionBuilder<'a>
impl<'a> Sync for BuildBorrowOperateTransactionBuilder<'a>
impl<'a> Unpin for BuildBorrowOperateTransactionBuilder<'a>
impl<'a> UnsafeUnpin for BuildBorrowOperateTransactionBuilder<'a>
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