pub struct DynamicConfiguration<'c> { /* private fields */ }Implementations§
Source§impl<'c> DynamicConfiguration<'c>
impl<'c> DynamicConfiguration<'c>
pub fn new(client: &'c Client) -> Self
Sourcepub async fn get(
&self,
config_class: impl Into<String> + Send,
object_type: impl Into<String> + Send,
id: impl Into<String> + Send,
) -> Result<ConfigTuple>
pub async fn get( &self, config_class: impl Into<String> + Send, object_type: impl Into<String> + Send, id: impl Into<String> + Send, ) -> Result<ConfigTuple>
Retrieve a dynamic configuration object.
Sourcepub async fn put(&self, request: CreateUpdateRequest) -> Result<()>
pub async fn put(&self, request: CreateUpdateRequest) -> Result<()>
Create or update a dynamic configuration object.
Auto Trait Implementations§
impl<'c> Freeze for DynamicConfiguration<'c>
impl<'c> !RefUnwindSafe for DynamicConfiguration<'c>
impl<'c> Send for DynamicConfiguration<'c>
impl<'c> Sync for DynamicConfiguration<'c>
impl<'c> Unpin for DynamicConfiguration<'c>
impl<'c> !UnwindSafe for DynamicConfiguration<'c>
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