pub struct ListOwnedTokensParams {
pub ncw_id: Option<String>,
pub wallet_type: Option<String>,
pub page_cursor: Option<String>,
pub page_size: Option<f64>,
pub sort: Option<Vec<String>>,
pub order: Option<String>,
pub status: Option<String>,
pub search: Option<String>,
pub spam: Option<String>,
}
Expand description
struct for passing parameters to the method [list_owned_tokens
]
Fields§
§ncw_id: Option<String>
Non-Custodial Wallet ID
wallet_type: Option<String>
Wallet type, it can be VAULT_ACCOUNT
or END_USER_WALLET
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
status: Option<String>
Token ownership status
search: Option<String>
Search owned tokens by token name
spam: Option<String>
Token ownership spam status.
Implementations§
Source§impl ListOwnedTokensParams
impl ListOwnedTokensParams
Sourcepub fn builder() -> ListOwnedTokensParamsBuilder
pub fn builder() -> ListOwnedTokensParamsBuilder
Create an instance of ListOwnedTokensParams
using the builder syntax
Trait Implementations§
Source§impl Clone for ListOwnedTokensParams
impl Clone for ListOwnedTokensParams
Source§fn clone(&self) -> ListOwnedTokensParams
fn clone(&self) -> ListOwnedTokensParams
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 ListOwnedTokensParams
impl RefUnwindSafe for ListOwnedTokensParams
impl Send for ListOwnedTokensParams
impl Sync for ListOwnedTokensParams
impl Unpin for ListOwnedTokensParams
impl UnwindSafe for ListOwnedTokensParams
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