pub struct DatastoreFirestoreMigrationMetadata {
pub migration_state: i32,
pub migration_step: i32,
}
Expand description
Metadata for Datastore to Firestore migration operations.
The DatastoreFirestoreMigration operation is not started by the end-user via an explicit “creation” method. This is an intentional deviation from the LRO design pattern.
This singleton resource can be accessed at: “projects/{project_id}/operations/datastore-firestore-migration”
Fields§
§migration_state: i32
The current state of migration from Cloud Datastore to Cloud Firestore in Datastore mode.
migration_step: i32
The current step of migration from Cloud Datastore to Cloud Firestore in Datastore mode.
Implementations§
source§impl DatastoreFirestoreMigrationMetadata
impl DatastoreFirestoreMigrationMetadata
sourcepub fn migration_state(&self) -> MigrationState
pub fn migration_state(&self) -> MigrationState
Returns the enum value of migration_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_migration_state(&mut self, value: MigrationState)
pub fn set_migration_state(&mut self, value: MigrationState)
Sets migration_state
to the provided enum value.
sourcepub fn migration_step(&self) -> MigrationStep
pub fn migration_step(&self) -> MigrationStep
Returns the enum value of migration_step
, or the default if the field is set to an invalid enum value.
sourcepub fn set_migration_step(&mut self, value: MigrationStep)
pub fn set_migration_step(&mut self, value: MigrationStep)
Sets migration_step
to the provided enum value.
Trait Implementations§
source§impl Clone for DatastoreFirestoreMigrationMetadata
impl Clone for DatastoreFirestoreMigrationMetadata
source§fn clone(&self) -> DatastoreFirestoreMigrationMetadata
fn clone(&self) -> DatastoreFirestoreMigrationMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for DatastoreFirestoreMigrationMetadata
impl Message for DatastoreFirestoreMigrationMetadata
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for DatastoreFirestoreMigrationMetadata
impl PartialEq for DatastoreFirestoreMigrationMetadata
source§fn eq(&self, other: &DatastoreFirestoreMigrationMetadata) -> bool
fn eq(&self, other: &DatastoreFirestoreMigrationMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for DatastoreFirestoreMigrationMetadata
impl StructuralPartialEq for DatastoreFirestoreMigrationMetadata
Auto Trait Implementations§
impl Freeze for DatastoreFirestoreMigrationMetadata
impl RefUnwindSafe for DatastoreFirestoreMigrationMetadata
impl Send for DatastoreFirestoreMigrationMetadata
impl Sync for DatastoreFirestoreMigrationMetadata
impl Unpin for DatastoreFirestoreMigrationMetadata
impl UnwindSafe for DatastoreFirestoreMigrationMetadata
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request