pub struct BlocksApiClient { /* private fields */ }Implementations§
Source§impl BlocksApiClient
impl BlocksApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl BlocksApi for BlocksApiClient
impl BlocksApi for BlocksApiClient
Source§fn block_controller_create<'block_controller_create_request, 'life0, 'async_trait>(
&'life0 self,
block_controller_create_request: BlockControllerCreateRequest,
) -> Pin<Box<dyn Future<Output = Result<BlockControllerFindAll200ResponseInner, Error<BlockControllerCreateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'block_controller_create_request: 'async_trait,
'life0: 'async_trait,
fn block_controller_create<'block_controller_create_request, 'life0, 'async_trait>(
&'life0 self,
block_controller_create_request: BlockControllerCreateRequest,
) -> Pin<Box<dyn Future<Output = Result<BlockControllerFindAll200ResponseInner, Error<BlockControllerCreateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'block_controller_create_request: 'async_trait,
'life0: 'async_trait,
POST /block
Source§fn block_controller_find_all<'limit, 'created_at_gt, 'created_at_lt, 'created_at_ge, 'created_at_le, 'updated_at_gt, 'updated_at_lt, 'updated_at_ge, 'updated_at_le, 'life0, 'async_trait>(
&'life0 self,
limit: Option<f64>,
created_at_gt: Option<String>,
created_at_lt: Option<String>,
created_at_ge: Option<String>,
created_at_le: Option<String>,
updated_at_gt: Option<String>,
updated_at_lt: Option<String>,
updated_at_ge: Option<String>,
updated_at_le: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlockControllerFindAll200ResponseInner>, Error<BlockControllerFindAllError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'limit: 'async_trait,
'created_at_gt: 'async_trait,
'created_at_lt: 'async_trait,
'created_at_ge: 'async_trait,
'created_at_le: 'async_trait,
'updated_at_gt: 'async_trait,
'updated_at_lt: 'async_trait,
'updated_at_ge: 'async_trait,
'updated_at_le: 'async_trait,
'life0: 'async_trait,
fn block_controller_find_all<'limit, 'created_at_gt, 'created_at_lt, 'created_at_ge, 'created_at_le, 'updated_at_gt, 'updated_at_lt, 'updated_at_ge, 'updated_at_le, 'life0, 'async_trait>(
&'life0 self,
limit: Option<f64>,
created_at_gt: Option<String>,
created_at_lt: Option<String>,
created_at_ge: Option<String>,
created_at_le: Option<String>,
updated_at_gt: Option<String>,
updated_at_lt: Option<String>,
updated_at_ge: Option<String>,
updated_at_le: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlockControllerFindAll200ResponseInner>, Error<BlockControllerFindAllError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'limit: 'async_trait,
'created_at_gt: 'async_trait,
'created_at_lt: 'async_trait,
'created_at_ge: 'async_trait,
'created_at_le: 'async_trait,
'updated_at_gt: 'async_trait,
'updated_at_lt: 'async_trait,
'updated_at_ge: 'async_trait,
'updated_at_le: 'async_trait,
'life0: 'async_trait,
GET /block
Source§fn block_controller_find_one<'id, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
) -> Pin<Box<dyn Future<Output = Result<BlockControllerFindAll200ResponseInner, Error<BlockControllerFindOneError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'life0: 'async_trait,
fn block_controller_find_one<'id, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
) -> Pin<Box<dyn Future<Output = Result<BlockControllerFindAll200ResponseInner, Error<BlockControllerFindOneError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'life0: 'async_trait,
GET /block/{id}
Source§fn block_controller_remove<'id, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
) -> Pin<Box<dyn Future<Output = Result<BlockControllerFindAll200ResponseInner, Error<BlockControllerRemoveError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'life0: 'async_trait,
fn block_controller_remove<'id, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
) -> Pin<Box<dyn Future<Output = Result<BlockControllerFindAll200ResponseInner, Error<BlockControllerRemoveError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'life0: 'async_trait,
DELETE /block/{id}
Source§fn block_controller_update<'id, 'block_controller_update_request, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
block_controller_update_request: BlockControllerUpdateRequest,
) -> Pin<Box<dyn Future<Output = Result<BlockControllerFindAll200ResponseInner, Error<BlockControllerUpdateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'block_controller_update_request: 'async_trait,
'life0: 'async_trait,
fn block_controller_update<'id, 'block_controller_update_request, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
block_controller_update_request: BlockControllerUpdateRequest,
) -> Pin<Box<dyn Future<Output = Result<BlockControllerFindAll200ResponseInner, Error<BlockControllerUpdateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'block_controller_update_request: 'async_trait,
'life0: 'async_trait,
PATCH /block/{id}
Auto Trait Implementations§
impl Freeze for BlocksApiClient
impl !RefUnwindSafe for BlocksApiClient
impl Send for BlocksApiClient
impl Sync for BlocksApiClient
impl Unpin for BlocksApiClient
impl !UnwindSafe for BlocksApiClient
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