pub struct ListMetersParams {
pub organization_id: Option<Vec<Uuid>>,
pub query: Option<String>,
pub page: Option<usize>,
pub limit: Option<u8>,
pub sorting: Option<Vec<MetersSorting>>,
pub metadata: Option<HashMap<String, String>>,
}Fields§
§organization_id: Option<Vec<Uuid>>Filter by organization ID.
query: Option<String>Filter by name.
page: Option<usize>Page number, defaults to 1.
Required range: x > 0
limit: Option<u8>Size of a page, defaults to 10. Maximum is 100.
Required range: x > 0
sorting: Option<Vec<MetersSorting>>Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign - before the criteria name to sort by descending order.
metadata: Option<HashMap<String, String>>Filter by metadata key-value pairs.
Trait Implementations§
Source§impl Default for ListMetersParams
impl Default for ListMetersParams
Source§fn default() -> ListMetersParams
fn default() -> ListMetersParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListMetersParams
impl RefUnwindSafe for ListMetersParams
impl Send for ListMetersParams
impl Sync for ListMetersParams
impl Unpin for ListMetersParams
impl UnwindSafe for ListMetersParams
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