pub struct CreateCrdbInstance {
pub cluster: String,
pub cluster_url: Option<String>,
pub username: Option<String>,
pub password: Option<String>,
}
Expand description
Create CRDB instance
Fields§
§cluster: String
Cluster fully qualified name, used to uniquely identify the cluster
cluster_url: Option<String>
Cluster access URL (e.g., ‘https://cluster1.example.com:9443’)
username: Option<String>
Username for cluster authentication
password: Option<String>
Password for cluster authentication
Implementations§
Source§impl CreateCrdbInstance
impl CreateCrdbInstance
Sourcepub fn builder() -> CreateCrdbInstanceBuilder<((), (), (), ())>
pub fn builder() -> CreateCrdbInstanceBuilder<((), (), (), ())>
Create a builder for building CreateCrdbInstance
.
On the builder, call .cluster(...)
, .cluster_url(...)
(optional), .username(...)
(optional), .password(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of CreateCrdbInstance
.
Trait Implementations§
Source§impl Debug for CreateCrdbInstance
impl Debug for CreateCrdbInstance
Auto Trait Implementations§
impl Freeze for CreateCrdbInstance
impl RefUnwindSafe for CreateCrdbInstance
impl Send for CreateCrdbInstance
impl Sync for CreateCrdbInstance
impl Unpin for CreateCrdbInstance
impl UnwindSafe for CreateCrdbInstance
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