pub struct SearchRequest {
pub q: Option<String>,
pub limit: Option<u32>,
pub offset: Option<u32>,
pub content_type: Option<ContentType>,
pub start_time: Option<DateTime<Utc>>,
pub end_time: Option<DateTime<Utc>>,
pub app_name: Option<String>,
pub window_name: Option<String>,
pub include_frames: Option<bool>,
pub min_length: Option<u32>,
pub max_length: Option<u32>,
}
Fields§
§q: Option<String>
§limit: Option<u32>
§offset: Option<u32>
§content_type: Option<ContentType>
§start_time: Option<DateTime<Utc>>
§end_time: Option<DateTime<Utc>>
§app_name: Option<String>
§window_name: Option<String>
§include_frames: Option<bool>
§min_length: Option<u32>
§max_length: Option<u32>
Trait Implementations§
Source§impl Debug for SearchRequest
impl Debug for SearchRequest
Source§impl Default for SearchRequest
impl Default for SearchRequest
Source§fn default() -> SearchRequest
fn default() -> SearchRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchRequest
impl<'de> Deserialize<'de> for SearchRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SearchRequest
impl RefUnwindSafe for SearchRequest
impl Send for SearchRequest
impl Sync for SearchRequest
impl Unpin for SearchRequest
impl UnwindSafe for SearchRequest
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