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