pub struct DatabaseSyncSourceSpec {
pub endpoint: String,
pub encryption: Option<bool>,
pub server_cert: Option<String>,
pub extra: Value,
}
Expand description
Optional. This database will be a replica of the specified Redis databases, provided as a list of objects with endpoint and certificate details.
Fields§
§endpoint: String
Redis URI of a source database. Example format: ‘redis://user:password@host:port’. If the URI provided is a Redis Cloud database, only host and port should be provided. Example: ‘redis://endpoint1:6379’.
encryption: Option<bool>
Defines if encryption should be used to connect to the sync source. If not set the source is a Redis Cloud database, it will automatically detect if the source uses encryption.
server_cert: Option<String>
TLS/SSL certificate chain of the sync source. If not set and the source is a Redis Cloud database, it will automatically detect the certificate to use.
extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for DatabaseSyncSourceSpec
impl Clone for DatabaseSyncSourceSpec
Source§fn clone(&self) -> DatabaseSyncSourceSpec
fn clone(&self) -> DatabaseSyncSourceSpec
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 DatabaseSyncSourceSpec
impl Debug for DatabaseSyncSourceSpec
Source§impl<'de> Deserialize<'de> for DatabaseSyncSourceSpec
impl<'de> Deserialize<'de> for DatabaseSyncSourceSpec
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
Auto Trait Implementations§
impl Freeze for DatabaseSyncSourceSpec
impl RefUnwindSafe for DatabaseSyncSourceSpec
impl Send for DatabaseSyncSourceSpec
impl Sync for DatabaseSyncSourceSpec
impl Unpin for DatabaseSyncSourceSpec
impl UnwindSafe for DatabaseSyncSourceSpec
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