pub struct QueryMaxBorrowParams {
pub asset: String,
pub isolated_symbol: Option<String>,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [query_max_borrow] operation.
This struct holds all of the inputs you can pass when calling
query_max_borrow.
Fields§
§asset: StringThe asset parameter.
This field is **required.
isolated_symbol: Option<String>isolated symbol
This field is **optional.
recv_window: Option<i64>No more than 60000
This field is **optional.
Implementations§
Source§impl QueryMaxBorrowParams
impl QueryMaxBorrowParams
Sourcepub fn builder(asset: String) -> QueryMaxBorrowParamsBuilder
pub fn builder(asset: String) -> QueryMaxBorrowParamsBuilder
Create a builder for [query_max_borrow].
Required parameters:
asset— String
Trait Implementations§
Source§impl Clone for QueryMaxBorrowParams
impl Clone for QueryMaxBorrowParams
Source§fn clone(&self) -> QueryMaxBorrowParams
fn clone(&self) -> QueryMaxBorrowParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QueryMaxBorrowParams
impl RefUnwindSafe for QueryMaxBorrowParams
impl Send for QueryMaxBorrowParams
impl Sync for QueryMaxBorrowParams
impl Unpin for QueryMaxBorrowParams
impl UnsafeUnpin for QueryMaxBorrowParams
impl UnwindSafe for QueryMaxBorrowParams
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