pub struct DatabaseModuleSpec {
pub name: String,
pub parameters: Option<HashMap<String, Value>>,
pub extra: Value,
}
Expand description
Optional. Redis advanced capabilities (also known as modules) to be provisioned in the database. Use GET /database-modules to get a list of available advanced capabilities.
Fields§
§name: String
Redis advanced capability name. Use GET /database-modules for a list of available capabilities.
parameters: Option<HashMap<String, Value>>
Optional. Redis advanced capability parameters. Use GET /database-modules to get the available capabilities and their parameters.
extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for DatabaseModuleSpec
impl Clone for DatabaseModuleSpec
Source§fn clone(&self) -> DatabaseModuleSpec
fn clone(&self) -> DatabaseModuleSpec
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 DatabaseModuleSpec
impl Debug for DatabaseModuleSpec
Source§impl<'de> Deserialize<'de> for DatabaseModuleSpec
impl<'de> Deserialize<'de> for DatabaseModuleSpec
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 DatabaseModuleSpec
impl RefUnwindSafe for DatabaseModuleSpec
impl Send for DatabaseModuleSpec
impl Sync for DatabaseModuleSpec
impl Unpin for DatabaseModuleSpec
impl UnwindSafe for DatabaseModuleSpec
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