pub struct GetUltraV1OrderBuilder<'a> { /* private fields */ }Expand description
Additive request builder for getUltraV1Order.
Implementations§
Source§impl<'a> GetUltraV1OrderBuilder<'a>
impl<'a> GetUltraV1OrderBuilder<'a>
Sourcepub fn taker(self, taker: impl Into<String>) -> Self
pub fn taker(self, taker: impl Into<String>) -> Self
Set the optional taker operation parameter.
Sourcepub fn receiver(self, receiver: impl Into<String>) -> Self
pub fn receiver(self, receiver: impl Into<String>) -> Self
Set the optional receiver operation parameter.
Sourcepub fn payer(self, payer: impl Into<String>) -> Self
pub fn payer(self, payer: impl Into<String>) -> Self
Set the optional payer operation parameter.
Set the optional closeAuthority operation parameter.
Sourcepub fn referral_account(self, referral_account: impl Into<String>) -> Self
pub fn referral_account(self, referral_account: impl Into<String>) -> Self
Set the optional referralAccount operation parameter.
Sourcepub fn referral_fee(self, referral_fee: f64) -> Self
pub fn referral_fee(self, referral_fee: f64) -> Self
Set the optional referralFee operation parameter.
Sourcepub fn exclude_routers(
self,
exclude_routers: GetUltraV1OrderExcludeRouters,
) -> Self
pub fn exclude_routers( self, exclude_routers: GetUltraV1OrderExcludeRouters, ) -> Self
Set the optional excludeRouters operation parameter.
Sourcepub fn exclude_dexes(self, exclude_dexes: impl Into<String>) -> Self
pub fn exclude_dexes(self, exclude_dexes: impl Into<String>) -> Self
Set the optional excludeDexes operation parameter.
Sourcepub async fn send(
self,
) -> Result<GetUltraV1OrderResponse, ApiOpError<GetUltraV1OrderApiError>>
pub async fn send( self, ) -> Result<GetUltraV1OrderResponse, ApiOpError<GetUltraV1OrderApiError>>
Send the request through the existing flat operation method.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetUltraV1OrderBuilder<'a>
impl<'a> !UnwindSafe for GetUltraV1OrderBuilder<'a>
impl<'a> Freeze for GetUltraV1OrderBuilder<'a>
impl<'a> Send for GetUltraV1OrderBuilder<'a>
impl<'a> Sync for GetUltraV1OrderBuilder<'a>
impl<'a> Unpin for GetUltraV1OrderBuilder<'a>
impl<'a> UnsafeUnpin for GetUltraV1OrderBuilder<'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