pub struct DatabasesCreateReplicaResponseReplicaDoSettings {
pub service_cnames: Vec<DatabasesCreateReplicaResponseReplicaDoSettingsServiceCnamesItem>,
}Expand description
DatabasesCreateReplicaResponseReplicaDoSettings
JSON schema
{
"allOf": [
{
"description": "DigitalOcean-specific settings for the database cluster.",
"type": "object",
"properties": {
"service_cnames": {
"description": "An array of custom CNAMEs for the database cluster. Each CNAME must be a valid RFC 1123 hostname (e.g., \"db.example.com\"). Maximum of 16 CNAMEs allowed, each up to 253 characters.",
"examples": [
[
"db.example.com",
"database.myapp.io"
]
],
"type": "array",
"items": {
"type": "string",
"maxLength": 253,
"pattern": "^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?(\\.[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?)+$"
},
"maxItems": 16
}
}
},
{
"description": "DigitalOcean-specific settings for the read-only replica, including custom service CNAMEs."
}
]
}Fields§
§service_cnames: Vec<DatabasesCreateReplicaResponseReplicaDoSettingsServiceCnamesItem>An array of custom CNAMEs for the database cluster. Each CNAME must be a valid RFC 1123 hostname (e.g., “db.example.com”). Maximum of 16 CNAMEs allowed, each up to 253 characters.
Trait Implementations§
Source§impl Clone for DatabasesCreateReplicaResponseReplicaDoSettings
impl Clone for DatabasesCreateReplicaResponseReplicaDoSettings
Source§fn clone(&self) -> DatabasesCreateReplicaResponseReplicaDoSettings
fn clone(&self) -> DatabasesCreateReplicaResponseReplicaDoSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for DatabasesCreateReplicaResponseReplicaDoSettings
impl<'de> Deserialize<'de> for DatabasesCreateReplicaResponseReplicaDoSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&DatabasesCreateReplicaResponseReplicaDoSettings> for DatabasesCreateReplicaResponseReplicaDoSettings
impl From<&DatabasesCreateReplicaResponseReplicaDoSettings> for DatabasesCreateReplicaResponseReplicaDoSettings
Source§fn from(value: &DatabasesCreateReplicaResponseReplicaDoSettings) -> Self
fn from(value: &DatabasesCreateReplicaResponseReplicaDoSettings) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DatabasesCreateReplicaResponseReplicaDoSettings
impl RefUnwindSafe for DatabasesCreateReplicaResponseReplicaDoSettings
impl Send for DatabasesCreateReplicaResponseReplicaDoSettings
impl Sync for DatabasesCreateReplicaResponseReplicaDoSettings
impl Unpin for DatabasesCreateReplicaResponseReplicaDoSettings
impl UnsafeUnpin for DatabasesCreateReplicaResponseReplicaDoSettings
impl UnwindSafe for DatabasesCreateReplicaResponseReplicaDoSettings
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