#[non_exhaustive]pub struct ExportOperationMetadata {
pub exported_gcs_destination: Option<GcsDestination>,
/* private fields */
}Available on crate feature
documents only.Expand description
Metadata related to the Export Data Operations (e.g. ExportDocument).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.exported_gcs_destination: Option<GcsDestination>Cloud Storage file path of the exported data.
Implementations§
Source§impl ExportOperationMetadata
impl ExportOperationMetadata
pub fn new() -> Self
Sourcepub fn set_exported_gcs_destination<T>(self, v: T) -> Selfwhere
T: Into<GcsDestination>,
pub fn set_exported_gcs_destination<T>(self, v: T) -> Selfwhere
T: Into<GcsDestination>,
Sets the value of exported_gcs_destination.
§Example
ⓘ
use google_cloud_dialogflow_v2::model::GcsDestination;
let x = ExportOperationMetadata::new().set_exported_gcs_destination(GcsDestination::default()/* use setters */);Sourcepub fn set_or_clear_exported_gcs_destination<T>(self, v: Option<T>) -> Selfwhere
T: Into<GcsDestination>,
pub fn set_or_clear_exported_gcs_destination<T>(self, v: Option<T>) -> Selfwhere
T: Into<GcsDestination>,
Sets or clears the value of exported_gcs_destination.
§Example
ⓘ
use google_cloud_dialogflow_v2::model::GcsDestination;
let x = ExportOperationMetadata::new().set_or_clear_exported_gcs_destination(Some(GcsDestination::default()/* use setters */));
let x = ExportOperationMetadata::new().set_or_clear_exported_gcs_destination(None::<GcsDestination>);Trait Implementations§
Source§impl Clone for ExportOperationMetadata
impl Clone for ExportOperationMetadata
Source§fn clone(&self) -> ExportOperationMetadata
fn clone(&self) -> ExportOperationMetadata
Returns a duplicate 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 ExportOperationMetadata
impl Debug for ExportOperationMetadata
Source§impl Default for ExportOperationMetadata
impl Default for ExportOperationMetadata
Source§fn default() -> ExportOperationMetadata
fn default() -> ExportOperationMetadata
Returns the “default value” for a type. Read more
Source§impl Message for ExportOperationMetadata
impl Message for ExportOperationMetadata
Source§impl PartialEq for ExportOperationMetadata
impl PartialEq for ExportOperationMetadata
impl StructuralPartialEq for ExportOperationMetadata
Auto Trait Implementations§
impl Freeze for ExportOperationMetadata
impl RefUnwindSafe for ExportOperationMetadata
impl Send for ExportOperationMetadata
impl Sync for ExportOperationMetadata
impl Unpin for ExportOperationMetadata
impl UnwindSafe for ExportOperationMetadata
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