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>The isolated_symbol parameter.
This field is **optional.
recv_window: Option<i64>The recv_window parameter.
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 moreSource§impl Debug for QueryMaxBorrowParams
impl Debug for QueryMaxBorrowParams
Source§impl<'de> Deserialize<'de> for QueryMaxBorrowParams
impl<'de> Deserialize<'de> for QueryMaxBorrowParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto 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