#[non_exhaustive]pub struct ExportEntitiesMetadata {
pub common: Option<CommonMetadata>,
pub progress_entities: Option<Progress>,
pub progress_bytes: Option<Progress>,
pub entity_filter: Option<EntityFilter>,
pub output_url_prefix: String,
/* private fields */
}Expand description
Metadata for ExportEntities operations.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.common: Option<CommonMetadata>Metadata common to all Datastore Admin operations.
progress_entities: Option<Progress>An estimate of the number of entities processed.
progress_bytes: Option<Progress>An estimate of the number of bytes processed.
entity_filter: Option<EntityFilter>Description of which entities are being exported.
output_url_prefix: StringLocation for the export metadata and data files. This will be the same value as the google.datastore.admin.v1.ExportEntitiesRequest.output_url_prefix field. The final output location is provided in google.datastore.admin.v1.ExportEntitiesResponse.output_url.
Implementations§
Source§impl ExportEntitiesMetadata
impl ExportEntitiesMetadata
pub fn new() -> Self
Sourcepub fn set_common<T>(self, v: T) -> Selfwhere
T: Into<CommonMetadata>,
pub fn set_common<T>(self, v: T) -> Selfwhere
T: Into<CommonMetadata>,
Sets the value of common.
Sourcepub fn set_or_clear_common<T>(self, v: Option<T>) -> Selfwhere
T: Into<CommonMetadata>,
pub fn set_or_clear_common<T>(self, v: Option<T>) -> Selfwhere
T: Into<CommonMetadata>,
Sets or clears the value of common.
Sourcepub fn set_progress_entities<T>(self, v: T) -> Self
pub fn set_progress_entities<T>(self, v: T) -> Self
Sets the value of progress_entities.
Sourcepub fn set_or_clear_progress_entities<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_progress_entities<T>(self, v: Option<T>) -> Self
Sets or clears the value of progress_entities.
Sourcepub fn set_progress_bytes<T>(self, v: T) -> Self
pub fn set_progress_bytes<T>(self, v: T) -> Self
Sets the value of progress_bytes.
Sourcepub fn set_or_clear_progress_bytes<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_progress_bytes<T>(self, v: Option<T>) -> Self
Sets or clears the value of progress_bytes.
Sourcepub fn set_entity_filter<T>(self, v: T) -> Selfwhere
T: Into<EntityFilter>,
pub fn set_entity_filter<T>(self, v: T) -> Selfwhere
T: Into<EntityFilter>,
Sets the value of entity_filter.
Sourcepub fn set_or_clear_entity_filter<T>(self, v: Option<T>) -> Selfwhere
T: Into<EntityFilter>,
pub fn set_or_clear_entity_filter<T>(self, v: Option<T>) -> Selfwhere
T: Into<EntityFilter>,
Sets or clears the value of entity_filter.
Sourcepub fn set_output_url_prefix<T: Into<String>>(self, v: T) -> Self
pub fn set_output_url_prefix<T: Into<String>>(self, v: T) -> Self
Sets the value of output_url_prefix.
Trait Implementations§
Source§impl Clone for ExportEntitiesMetadata
impl Clone for ExportEntitiesMetadata
Source§fn clone(&self) -> ExportEntitiesMetadata
fn clone(&self) -> ExportEntitiesMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more