Struct sylvia_iot_data::models::coremgr_opdata::ListQueryCond
source · pub struct ListQueryCond<'a> {
pub user_id: Option<&'a str>,
pub client_id: Option<&'a str>,
pub req_gte: Option<DateTime<Utc>>,
pub req_lte: Option<DateTime<Utc>>,
pub res_gte: Option<DateTime<Utc>>,
pub res_lte: Option<DateTime<Utc>>,
}
Expand description
The query condition for the list operation.
Fields§
§user_id: Option<&'a str>
To get the specified user.
client_id: Option<&'a str>
To get the specified client.
req_gte: Option<DateTime<Utc>>
To get data greater than and equal to the specified req_time
time.
req_lte: Option<DateTime<Utc>>
To get data less than and equal to the specified req_time
time.
res_gte: Option<DateTime<Utc>>
To get data greater than and equal to the specified res_time
time.
res_lte: Option<DateTime<Utc>>
To get data less than and equal to the specified res_time
time.
Trait Implementations§
source§impl<'a> Default for ListQueryCond<'a>
impl<'a> Default for ListQueryCond<'a>
source§fn default() -> ListQueryCond<'a>
fn default() -> ListQueryCond<'a>
Returns the “default value” for a type. Read more