#[non_exhaustive]pub struct AlloyDbConnectionProfile {
pub cluster_id: String,
pub settings: Option<AlloyDbSettings>,
/* private fields */
}Expand description
Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.
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.cluster_id: StringRequired. The AlloyDB cluster ID that this connection profile is associated with.
settings: Option<AlloyDbSettings>Immutable. Metadata used to create the destination AlloyDB cluster.
Implementations§
Source§impl AlloyDbConnectionProfile
impl AlloyDbConnectionProfile
pub fn new() -> Self
Sourcepub fn set_cluster_id<T: Into<String>>(self, v: T) -> Self
pub fn set_cluster_id<T: Into<String>>(self, v: T) -> Self
Sets the value of cluster_id.
Sourcepub fn set_settings<T>(self, v: T) -> Selfwhere
T: Into<AlloyDbSettings>,
pub fn set_settings<T>(self, v: T) -> Selfwhere
T: Into<AlloyDbSettings>,
Sets the value of settings.
Sourcepub fn set_or_clear_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<AlloyDbSettings>,
pub fn set_or_clear_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<AlloyDbSettings>,
Sets or clears the value of settings.
Trait Implementations§
Source§impl Clone for AlloyDbConnectionProfile
impl Clone for AlloyDbConnectionProfile
Source§fn clone(&self) -> AlloyDbConnectionProfile
fn clone(&self) -> AlloyDbConnectionProfile
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 AlloyDbConnectionProfile
impl Debug for AlloyDbConnectionProfile
Source§impl Default for AlloyDbConnectionProfile
impl Default for AlloyDbConnectionProfile
Source§fn default() -> AlloyDbConnectionProfile
fn default() -> AlloyDbConnectionProfile
Returns the “default value” for a type. Read more
Source§impl Message for AlloyDbConnectionProfile
impl Message for AlloyDbConnectionProfile
Source§impl PartialEq for AlloyDbConnectionProfile
impl PartialEq for AlloyDbConnectionProfile
impl StructuralPartialEq for AlloyDbConnectionProfile
Auto Trait Implementations§
impl Freeze for AlloyDbConnectionProfile
impl RefUnwindSafe for AlloyDbConnectionProfile
impl Send for AlloyDbConnectionProfile
impl Sync for AlloyDbConnectionProfile
impl Unpin for AlloyDbConnectionProfile
impl UnwindSafe for AlloyDbConnectionProfile
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