pub struct SiemHttpDestinationHandler { /* private fields */ }
Implementations§
Source§impl SiemHttpDestinationHandler
impl SiemHttpDestinationHandler
pub fn new(client: FilesClient) -> Self
pub async fn list( &self, cursor: Option<String>, per_page: Option<i64>, ) -> Result<(Vec<SiemHttpDestinationEntity>, PaginationInfo)>
pub async fn get(&self, id: i64) -> Result<SiemHttpDestinationEntity>
pub async fn create(&self, params: Value) -> Result<SiemHttpDestinationEntity>
pub async fn update( &self, id: i64, params: Value, ) -> Result<SiemHttpDestinationEntity>
pub async fn delete(&self, id: i64) -> Result<()>
Trait Implementations§
Source§impl Clone for SiemHttpDestinationHandler
impl Clone for SiemHttpDestinationHandler
Source§fn clone(&self) -> SiemHttpDestinationHandler
fn clone(&self) -> SiemHttpDestinationHandler
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 moreAuto Trait Implementations§
impl Freeze for SiemHttpDestinationHandler
impl !RefUnwindSafe for SiemHttpDestinationHandler
impl Send for SiemHttpDestinationHandler
impl Sync for SiemHttpDestinationHandler
impl Unpin for SiemHttpDestinationHandler
impl !UnwindSafe for SiemHttpDestinationHandler
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