Struct google_vault1::api::SavedQuery
source · pub struct SavedQuery {
pub create_time: Option<DateTime<Utc>>,
pub display_name: Option<String>,
pub matter_id: Option<String>,
pub query: Option<Query>,
pub saved_query_id: Option<String>,
}
Expand description
The definition of a saved query. To work with Vault resources, the account must have the required Vault privileges and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the View All Matters privilege.
§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).
- saved queries create matters (request|response)
- saved queries get matters (response)
Fields§
§create_time: Option<DateTime<Utc>>
Output only. The server-generated timestamp when the saved query was created.
display_name: Option<String>
The name of the saved query.
matter_id: Option<String>
Output only. The matter ID of the matter the saved query is saved in. The server does not use this field during create and always uses matter ID in the URL.
query: Option<Query>
The search parameters of the saved query.
saved_query_id: Option<String>
A unique identifier for the saved query.
Trait Implementations§
source§impl Clone for SavedQuery
impl Clone for SavedQuery
source§fn clone(&self) -> SavedQuery
fn clone(&self) -> SavedQuery
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SavedQuery
impl Debug for SavedQuery
source§impl Default for SavedQuery
impl Default for SavedQuery
source§fn default() -> SavedQuery
fn default() -> SavedQuery
source§impl<'de> Deserialize<'de> for SavedQuery
impl<'de> Deserialize<'de> for SavedQuery
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>,
source§impl Serialize for SavedQuery
impl Serialize for SavedQuery
impl RequestValue for SavedQuery
impl ResponseResult for SavedQuery
Auto Trait Implementations§
impl Freeze for SavedQuery
impl RefUnwindSafe for SavedQuery
impl Send for SavedQuery
impl Sync for SavedQuery
impl Unpin for SavedQuery
impl UnwindSafe for SavedQuery
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more