Struct google_vault1::Query [−][src]
pub struct Query { pub terms: Option<String>, pub team_drive_info: Option<TeamDriveInfo>, pub mail_options: Option<MailOptions>, pub search_method: Option<String>, pub hangouts_chat_info: Option<HangoutsChatInfo>, pub account_info: Option<AccountInfo>, pub drive_options: Option<DriveOptions>, pub start_time: Option<String>, pub org_unit_info: Option<OrgUnitInfo>, pub time_zone: Option<String>, pub corpus: Option<String>, pub end_time: Option<String>, pub data_scope: Option<String>, pub hangouts_chat_options: Option<HangoutsChatOptions>, }
A query definition relevant for search & export.
This type is not used in any activity, and only used as part of another schema.
Fields
terms: Option<String>
The corpus-specific search operators used to generate search results.
team_drive_info: Option<TeamDriveInfo>
When 'TEAM_DRIVE' is chosen as search method, team_drive_info needs to be specified.
mail_options: Option<MailOptions>
For mail search, specify more options in this field.
search_method: Option<String>
The search method to use.
hangouts_chat_info: Option<HangoutsChatInfo>
When 'ROOM' is chosen as search method, hangout_chats_info needs to be specified. (read-only)
account_info: Option<AccountInfo>
When 'ACCOUNT' is chosen as search method, account_info needs to be specified.
drive_options: Option<DriveOptions>
For Drive search, specify more options in this field.
start_time: Option<String>
The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.
org_unit_info: Option<OrgUnitInfo>
When 'ORG_UNIT' is chosen as as search method, org_unit_info needs to be specified.
time_zone: Option<String>
The time zone name. It should be an IANA TZ name, such as "America/Los_Angeles". For more information, see Time Zone.
corpus: Option<String>
The corpus to search.
end_time: Option<String>
The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.
data_scope: Option<String>
The data source to search from.
hangouts_chat_options: Option<HangoutsChatOptions>
For hangouts chat search, specify more options in this field. (read-only)
Trait Implementations
impl Default for Query
[src]
impl Default for Query
impl Clone for Query
[src]
impl Clone for Query
fn clone(&self) -> Query
[src]
fn clone(&self) -> Query
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Query
[src]
impl Debug for Query
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Query
[src]
impl Part for Query