pub struct AlterConfig<'a> {
pub specifier: ResourceSpecifier<'a>,
pub entries: HashMap<&'a str, &'a str>,
}
Expand description
Configuration for an AlterConfig operation.
Fields§
§specifier: ResourceSpecifier<'a>
Identifies the resource to be altered.
entries: HashMap<&'a str, &'a str>
The configuration parameters to be updated.
Implementations§
Source§impl<'a> AlterConfig<'a>
impl<'a> AlterConfig<'a>
Sourcepub fn new(specifier: ResourceSpecifier<'_>) -> AlterConfig<'_>
pub fn new(specifier: ResourceSpecifier<'_>) -> AlterConfig<'_>
Creates a new AlterConfig
.
Sourcepub fn set(self, key: &'a str, value: &'a str) -> AlterConfig<'a>
pub fn set(self, key: &'a str, value: &'a str) -> AlterConfig<'a>
Sets the configuration parameter named key
to the specified value
.
Auto Trait Implementations§
impl<'a> Freeze for AlterConfig<'a>
impl<'a> RefUnwindSafe for AlterConfig<'a>
impl<'a> Send for AlterConfig<'a>
impl<'a> Sync for AlterConfig<'a>
impl<'a> Unpin for AlterConfig<'a>
impl<'a> UnwindSafe for AlterConfig<'a>
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