#[non_exhaustive]pub struct ExportInstanceRequest {
pub name: String,
pub output_config: Option<OutputConfig>,
/* private fields */
}Expand description
Request for Export.
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.name: StringRequired. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id refers to a GCP region.
output_config: Option<OutputConfig>Required. Specify data to be exported.
Implementations§
Source§impl ExportInstanceRequest
impl ExportInstanceRequest
pub fn new() -> Self
Sourcepub fn set_output_config<T>(self, v: T) -> Selfwhere
T: Into<OutputConfig>,
pub fn set_output_config<T>(self, v: T) -> Selfwhere
T: Into<OutputConfig>,
Sets the value of output_config.
Sourcepub fn set_or_clear_output_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<OutputConfig>,
pub fn set_or_clear_output_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<OutputConfig>,
Sets or clears the value of output_config.
Trait Implementations§
Source§impl Clone for ExportInstanceRequest
impl Clone for ExportInstanceRequest
Source§fn clone(&self) -> ExportInstanceRequest
fn clone(&self) -> ExportInstanceRequest
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 ExportInstanceRequest
impl Debug for ExportInstanceRequest
Source§impl Default for ExportInstanceRequest
impl Default for ExportInstanceRequest
Source§fn default() -> ExportInstanceRequest
fn default() -> ExportInstanceRequest
Returns the “default value” for a type. Read more
Source§impl Message for ExportInstanceRequest
impl Message for ExportInstanceRequest
Source§impl PartialEq for ExportInstanceRequest
impl PartialEq for ExportInstanceRequest
impl StructuralPartialEq for ExportInstanceRequest
Auto Trait Implementations§
impl Freeze for ExportInstanceRequest
impl RefUnwindSafe for ExportInstanceRequest
impl Send for ExportInstanceRequest
impl Sync for ExportInstanceRequest
impl Unpin for ExportInstanceRequest
impl UnwindSafe for ExportInstanceRequest
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