#[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
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.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: Into<Option<CommonMetadata>>>(self, v: T) -> Self
pub fn set_common<T: Into<Option<CommonMetadata>>>(self, v: T) -> Self
Sets the value of common.
Sourcepub fn set_progress_entities<T: Into<Option<Progress>>>(self, v: T) -> Self
pub fn set_progress_entities<T: Into<Option<Progress>>>(self, v: T) -> Self
Sets the value of progress_entities.
Sourcepub fn set_progress_bytes<T: Into<Option<Progress>>>(self, v: T) -> Self
pub fn set_progress_bytes<T: Into<Option<Progress>>>(self, v: T) -> Self
Sets the value of progress_bytes.
Sourcepub fn set_entity_filter<T: Into<Option<EntityFilter>>>(self, v: T) -> Self
pub fn set_entity_filter<T: Into<Option<EntityFilter>>>(self, v: T) -> Self
Sets 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
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 ExportEntitiesMetadata
impl Debug for ExportEntitiesMetadata
Source§impl Default for ExportEntitiesMetadata
impl Default for ExportEntitiesMetadata
Source§fn default() -> ExportEntitiesMetadata
fn default() -> ExportEntitiesMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExportEntitiesMetadatawhere
ExportEntitiesMetadata: Default,
impl<'de> Deserialize<'de> for ExportEntitiesMetadatawhere
ExportEntitiesMetadata: Default,
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 Message for ExportEntitiesMetadata
impl Message for ExportEntitiesMetadata
Source§impl PartialEq for ExportEntitiesMetadata
impl PartialEq for ExportEntitiesMetadata
Source§impl Serialize for ExportEntitiesMetadata
impl Serialize for ExportEntitiesMetadata
impl StructuralPartialEq for ExportEntitiesMetadata
Auto Trait Implementations§
impl Freeze for ExportEntitiesMetadata
impl RefUnwindSafe for ExportEntitiesMetadata
impl Send for ExportEntitiesMetadata
impl Sync for ExportEntitiesMetadata
impl Unpin for ExportEntitiesMetadata
impl UnwindSafe for ExportEntitiesMetadata
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