Struct google_vault1::Hold [−][src]
pub struct Hold { pub update_time: Option<String>, pub accounts: Option<Vec<HeldAccount>>, pub name: Option<String>, pub query: Option<CorpusQuery>, pub corpus: Option<String>, pub hold_id: Option<String>, pub org_unit: Option<HeldOrgUnit>, }
Represents a hold within Vault. A hold restricts purging of artifacts based on the combination of the query and accounts restrictions. A hold can be configured to either apply to an explicitly configured set of accounts, or can be applied to all members of an organizational unit.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- holds get matters (response)
- holds create matters (request|response)
- holds update matters (request|response)
Fields
update_time: Option<String>
The last time this hold was modified.
accounts: Option<Vec<HeldAccount>>
If set, the hold applies to the enumerated accounts and org_unit must be empty.
name: Option<String>
The name of the hold.
query: Option<CorpusQuery>
The corpus-specific query. If set, the corpusQuery must match corpus type.
corpus: Option<String>
The corpus to be searched.
hold_id: Option<String>
The unique immutable ID of the hold. Assigned during creation.
org_unit: Option<HeldOrgUnit>
If set, the hold applies to all members of the organizational unit and accounts must be empty. This property is mutable. For groups holds, set the accounts field.
Trait Implementations
impl Default for Hold
[src]
impl Default for Hold
impl Clone for Hold
[src]
impl Clone for Hold
fn clone(&self) -> Hold
[src]
fn clone(&self) -> Hold
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 Hold
[src]
impl Debug for Hold
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 RequestValue for Hold
[src]
impl RequestValue for Hold
impl ResponseResult for Hold
[src]
impl ResponseResult for Hold