pub struct ZonesClient { /* private fields */ }Implementations§
Source§impl ZonesClient
impl ZonesClient
pub async fn create(&self, body: &Value) -> Result<Value, SdkError>
pub async fn get(&self, id: &str) -> Result<Value, SdkError>
pub async fn update(&self, id: &str, body: &Value) -> Result<Value, SdkError>
pub async fn delete(&self, id: &str) -> Result<(), SdkError>
pub async fn purge(&self, id: &str) -> Result<(), SdkError>
pub async fn by_integration( &self, integration_id: &str, ) -> Result<Vec<Value>, SdkError>
Trait Implementations§
Source§impl Clone for ZonesClient
impl Clone for ZonesClient
Source§fn clone(&self) -> ZonesClient
fn clone(&self) -> ZonesClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ZonesClient
impl !RefUnwindSafe for ZonesClient
impl Send for ZonesClient
impl Sync for ZonesClient
impl Unpin for ZonesClient
impl UnsafeUnpin for ZonesClient
impl !UnwindSafe for ZonesClient
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