#[non_exhaustive]pub struct BackupSource {
pub backup: String,
/* private fields */
}Expand description
Information about a backup that was used to restore a database.
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.backup: StringThe resource name of the backup that was used to restore this
database. Format:
projects/{project}/locations/{location}/backups/{backup}.
Implementations§
Trait Implementations§
Source§impl Clone for BackupSource
impl Clone for BackupSource
Source§fn clone(&self) -> BackupSource
fn clone(&self) -> BackupSource
Returns a duplicate 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 BackupSource
impl Debug for BackupSource
Source§impl Default for BackupSource
impl Default for BackupSource
Source§fn default() -> BackupSource
fn default() -> BackupSource
Returns the “default value” for a type. Read more
Source§impl Message for BackupSource
impl Message for BackupSource
Source§impl PartialEq for BackupSource
impl PartialEq for BackupSource
impl StructuralPartialEq for BackupSource
Auto Trait Implementations§
impl Freeze for BackupSource
impl RefUnwindSafe for BackupSource
impl Send for BackupSource
impl Sync for BackupSource
impl Unpin for BackupSource
impl UnwindSafe for BackupSource
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