pub struct ListRobotParams {
pub x_request_id: Option<String>,
pub q: Option<String>,
pub sort: Option<String>,
pub page: Option<i64>,
pub page_size: Option<i64>,
}Expand description
struct for passing parameters to the method list_robot
Fields§
§x_request_id: Option<String>An unique ID for the request
q: Option<String>Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or ’), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]
sort: Option<String>Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2"
page: Option<i64>The page number
page_size: Option<i64>The size of per page
Trait Implementations§
Source§impl Clone for ListRobotParams
impl Clone for ListRobotParams
Source§fn clone(&self) -> ListRobotParams
fn clone(&self) -> ListRobotParams
Returns a duplicate 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 ListRobotParams
impl RefUnwindSafe for ListRobotParams
impl Send for ListRobotParams
impl Sync for ListRobotParams
impl Unpin for ListRobotParams
impl UnwindSafe for ListRobotParams
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