pub struct ConversionWorkspace {
pub create_time: Option<DateTime<Utc>>,
pub destination: Option<DatabaseEngineInfo>,
pub display_name: Option<String>,
pub global_settings: Option<HashMap<String, String>>,
pub has_uncommitted_changes: Option<bool>,
pub latest_commit_id: Option<String>,
pub latest_commit_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub source: Option<DatabaseEngineInfo>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
The main conversion workspace resource entity.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§create_time: Option<DateTime<Utc>>
Output only. The timestamp when the workspace resource was created.
destination: Option<DatabaseEngineInfo>
Required. The destination engine details.
display_name: Option<String>
Optional. The display name for the workspace.
global_settings: Option<HashMap<String, String>>
Optional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true
has_uncommitted_changes: Option<bool>
Output only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed).
latest_commit_id: Option<String>
Output only. The latest commit ID.
latest_commit_time: Option<DateTime<Utc>>
Output only. The timestamp when the workspace was committed.
name: Option<String>
Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
source: Option<DatabaseEngineInfo>
Required. The source engine details.
update_time: Option<DateTime<Utc>>
Output only. The timestamp when the workspace resource was last updated.
Trait Implementations§
Source§impl Clone for ConversionWorkspace
impl Clone for ConversionWorkspace
Source§fn clone(&self) -> ConversionWorkspace
fn clone(&self) -> ConversionWorkspace
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ConversionWorkspace
impl Debug for ConversionWorkspace
Source§impl Default for ConversionWorkspace
impl Default for ConversionWorkspace
Source§fn default() -> ConversionWorkspace
fn default() -> ConversionWorkspace
Source§impl<'de> Deserialize<'de> for ConversionWorkspace
impl<'de> Deserialize<'de> for ConversionWorkspace
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>,
Source§impl Serialize for ConversionWorkspace
impl Serialize for ConversionWorkspace
impl RequestValue for ConversionWorkspace
impl ResponseResult for ConversionWorkspace
Auto Trait Implementations§
impl Freeze for ConversionWorkspace
impl RefUnwindSafe for ConversionWorkspace
impl Send for ConversionWorkspace
impl Sync for ConversionWorkspace
impl Unpin for ConversionWorkspace
impl UnwindSafe for ConversionWorkspace
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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