pub struct ShieldListsManager { /* private fields */ }Expand description
Operations for the “shield_lists” API area.
Implementations§
Source§impl ShieldListsManager
impl ShieldListsManager
pub async fn list(&self) -> Result<ShieldLists, Error>
pub async fn create(&self, body: ShieldListsCreate) -> Result<ShieldList, Error>
pub async fn get(&self, shield_list_id: String) -> Result<ShieldList, Error>
pub async fn update( &self, shield_list_id: String, body: ShieldListsUpdate, ) -> Result<ShieldList, Error>
pub async fn delete(&self, shield_list_id: String) -> Result<(), Error>
Auto Trait Implementations§
impl !RefUnwindSafe for ShieldListsManager
impl !UnwindSafe for ShieldListsManager
impl Freeze for ShieldListsManager
impl Send for ShieldListsManager
impl Sync for ShieldListsManager
impl Unpin for ShieldListsManager
impl UnsafeUnpin for ShieldListsManager
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