pub struct DeleteApi;Trait Implementations§
Source§impl Api for DeleteApi
impl Api for DeleteApi
type Input = DeleteReq
type Output = bool
fn namespace() -> LightString
fn require_res_key() -> Option<LightString>
fn validate_input(_: &Self::Input) -> Result<(), LightString>
fn call<'life0, 'life1, 'life2, 'async_trait, Client, ClientOutput, E>(
&'life0 self,
client: &'life1 Client,
input: &'life2 Self::Input,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::Output>, ApiErr<E>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Client: ApiClient<Error = E, Output = ClientOutput> + Sync + 'async_trait,
ClientOutput: AsRef<[u8]> + 'async_trait,
Self::Input: Serialize + Sync,
Self::Output: DeserializeOwned + 'static,
E: 'async_trait,
Self: Sync + 'async_trait,
Auto Trait Implementations§
impl Freeze for DeleteApi
impl RefUnwindSafe for DeleteApi
impl Send for DeleteApi
impl Sync for DeleteApi
impl Unpin for DeleteApi
impl UnwindSafe for DeleteApi
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