pub struct RedisServerConnectionSettings {
pub server_address: SocketAddr,
pub database_id: u16,
}Fields§
§server_address: SocketAddr§database_id: u16Trait Implementations§
Source§impl Clone for RedisServerConnectionSettings
impl Clone for RedisServerConnectionSettings
Source§fn clone(&self) -> RedisServerConnectionSettings
fn clone(&self) -> RedisServerConnectionSettings
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<'de> Deserialize<'de> for RedisServerConnectionSettings
impl<'de> Deserialize<'de> for RedisServerConnectionSettings
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 IntoConnectionInfo for RedisServerConnectionSettings
impl IntoConnectionInfo for RedisServerConnectionSettings
Source§fn into_connection_info(self) -> RedisResult<ConnectionInfo>
fn into_connection_info(self) -> RedisResult<ConnectionInfo>
Converts the object into a connection info object.
Auto Trait Implementations§
impl Freeze for RedisServerConnectionSettings
impl RefUnwindSafe for RedisServerConnectionSettings
impl Send for RedisServerConnectionSettings
impl Sync for RedisServerConnectionSettings
impl Unpin for RedisServerConnectionSettings
impl UnwindSafe for RedisServerConnectionSettings
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