Struct google_api_proto::google::cloud::sql::v1beta4::import_context::SqlBakImportOptions
source · pub struct SqlBakImportOptions {
pub encryption_options: Option<EncryptionOptions>,
pub striped: Option<bool>,
pub no_recovery: Option<bool>,
pub recovery_only: Option<bool>,
pub bak_type: i32,
pub stop_at: Option<Timestamp>,
pub stop_at_mark: String,
}
Fields§
§encryption_options: Option<EncryptionOptions>
§striped: Option<bool>
Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
no_recovery: Option<bool>
Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.
recovery_only: Option<bool>
Whether or not the backup importing request will just bring database online without downloading Bak content only one of “no_recovery” and “recovery_only” can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
bak_type: i32
Type of the bak content, FULL or DIFF.
stop_at: Option<Timestamp>
Optional. The timestamp when the import should stop. This timestamp is in
the RFC 3339 format (for example,
2023-10-01T16:19:00.094
). This field is equivalent to the STOPAT
keyword and applies to Cloud SQL for SQL Server only.
stop_at_mark: String
Optional. The marked transaction where the import should stop. This field is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL Server only.
Implementations§
Trait Implementations§
source§impl Clone for SqlBakImportOptions
impl Clone for SqlBakImportOptions
source§fn clone(&self) -> SqlBakImportOptions
fn clone(&self) -> SqlBakImportOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SqlBakImportOptions
impl Debug for SqlBakImportOptions
source§impl Default for SqlBakImportOptions
impl Default for SqlBakImportOptions
source§impl Message for SqlBakImportOptions
impl Message for SqlBakImportOptions
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 SqlBakImportOptions
impl PartialEq for SqlBakImportOptions
source§fn eq(&self, other: &SqlBakImportOptions) -> bool
fn eq(&self, other: &SqlBakImportOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SqlBakImportOptions
Auto Trait Implementations§
impl Freeze for SqlBakImportOptions
impl RefUnwindSafe for SqlBakImportOptions
impl Send for SqlBakImportOptions
impl Sync for SqlBakImportOptions
impl Unpin for SqlBakImportOptions
impl UnwindSafe for SqlBakImportOptions
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