Struct google_vault1::api::CorpusQuery
source · pub struct CorpusQuery {
pub calendar_query: Option<HeldCalendarQuery>,
pub drive_query: Option<HeldDriveQuery>,
pub groups_query: Option<HeldGroupsQuery>,
pub hangouts_chat_query: Option<HeldHangoutsChatQuery>,
pub mail_query: Option<HeldMailQuery>,
pub voice_query: Option<HeldVoiceQuery>,
}
Expand description
Service-specific options for holds.
This type is not used in any activity, and only used as part of another schema.
Fields§
§calendar_query: Option<HeldCalendarQuery>
Service-specific options for Calendar holds. If set, CorpusType must be CALENDAR.
drive_query: Option<HeldDriveQuery>
Service-specific options for Drive holds. If set, CorpusType must be DRIVE.
groups_query: Option<HeldGroupsQuery>
Service-specific options for Groups holds. If set, CorpusType must be GROUPS.
hangouts_chat_query: Option<HeldHangoutsChatQuery>
Service-specific options for Chat holds. If set, CorpusType must be HANGOUTS_CHAT.
mail_query: Option<HeldMailQuery>
Service-specific options for Gmail holds. If set, CorpusType must be MAIL.
voice_query: Option<HeldVoiceQuery>
Service-specific options for Voice holds. If set, CorpusType must be VOICE.
Trait Implementations§
source§impl Clone for CorpusQuery
impl Clone for CorpusQuery
source§fn clone(&self) -> CorpusQuery
fn clone(&self) -> CorpusQuery
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CorpusQuery
impl Debug for CorpusQuery
source§impl Default for CorpusQuery
impl Default for CorpusQuery
source§fn default() -> CorpusQuery
fn default() -> CorpusQuery
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CorpusQuery
impl<'de> Deserialize<'de> for CorpusQuery
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
source§impl Serialize for CorpusQuery
impl Serialize for CorpusQuery
impl Part for CorpusQuery
Auto Trait Implementations§
impl Freeze for CorpusQuery
impl RefUnwindSafe for CorpusQuery
impl Send for CorpusQuery
impl Sync for CorpusQuery
impl Unpin for CorpusQuery
impl UnwindSafe for CorpusQuery
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
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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