pub struct LocalRedisBinding {
pub host: BindingValueString,
pub password: String,
pub port: BindingValueU16,
pub username: BindingValueString,
}Expand description
Local Valkey binding.
JSON schema
{
"description": "Local Valkey binding.",
"type": "object",
"required": [
"host",
"password",
"port",
"username"
],
"properties": {
"host": {
"$ref": "#/components/schemas/BindingValue_String"
},
"password": {
"type": "string"
},
"port": {
"$ref": "#/components/schemas/BindingValue_u16"
},
"username": {
"$ref": "#/components/schemas/BindingValue_String"
}
}
}Fields§
§host: BindingValueString§password: String§port: BindingValueU16§username: BindingValueStringImplementations§
Source§impl LocalRedisBinding
impl LocalRedisBinding
pub fn builder() -> LocalRedisBinding
Trait Implementations§
Source§impl Clone for LocalRedisBinding
impl Clone for LocalRedisBinding
Source§impl Debug for LocalRedisBinding
impl Debug for LocalRedisBinding
Source§impl<'de> Deserialize<'de> for LocalRedisBinding
impl<'de> Deserialize<'de> for LocalRedisBinding
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<&LocalRedisBinding> for LocalRedisBinding
impl From<&LocalRedisBinding> for LocalRedisBinding
Source§fn from(value: &LocalRedisBinding) -> Self
fn from(value: &LocalRedisBinding) -> Self
Converts to this type from the input type.
Source§impl From<LocalRedisBinding> for LocalRedisBinding
impl From<LocalRedisBinding> for LocalRedisBinding
Source§fn from(value: LocalRedisBinding) -> Self
fn from(value: LocalRedisBinding) -> Self
Converts to this type from the input type.
Source§impl Serialize for LocalRedisBinding
impl Serialize for LocalRedisBinding
Source§impl TryFrom<LocalRedisBinding> for LocalRedisBinding
impl TryFrom<LocalRedisBinding> for LocalRedisBinding
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LocalRedisBinding) -> Result<Self, ConversionError>
fn try_from(value: LocalRedisBinding) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for LocalRedisBinding
impl Freeze for LocalRedisBinding
impl Move for LocalRedisBinding
impl RefUnwindSafe for LocalRedisBinding
impl Send for LocalRedisBinding
impl Sync for LocalRedisBinding
impl Unpin for LocalRedisBinding
impl UnsafeUnpin for LocalRedisBinding
impl UnwindSafe for LocalRedisBinding
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