pub struct GetNftsParams {
pub ids: String,
pub page_cursor: Option<String>,
pub page_size: Option<f64>,
pub sort: Option<Vec<String>>,
pub order: Option<String>,
}
Expand description
struct for passing parameters to the method [get_nfts
]
Fields§
§ids: String
A comma separated list of NFT IDs. Up to 100 are allowed in a single request.
page_cursor: Option<String>
Page cursor to fetch
page_size: Option<f64>
Items per page (max 100)
sort: Option<Vec<String>>
Sort by param, it can be one param or a list of params separated by comma
order: Option<String>
Order direction, it can be ASC
for ascending or DESC
for descending
Implementations§
Source§impl GetNftsParams
impl GetNftsParams
Sourcepub fn builder() -> GetNftsParamsBuilder
pub fn builder() -> GetNftsParamsBuilder
Create an instance of GetNftsParams
using the builder syntax
Trait Implementations§
Source§impl Clone for GetNftsParams
impl Clone for GetNftsParams
Source§fn clone(&self) -> GetNftsParams
fn clone(&self) -> GetNftsParams
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for GetNftsParams
impl RefUnwindSafe for GetNftsParams
impl Send for GetNftsParams
impl Sync for GetNftsParams
impl Unpin for GetNftsParams
impl UnwindSafe for GetNftsParams
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