pub struct DeleteScript<'a> {
pub account_id: &'a str,
pub script_name: &'a str,
}Expand description
Delete Workers script https://api.cloudflare.com/#worker-script-delete-worker
Fields§
§account_id: &'a straccount id of owner of the script
script_name: &'a strthe name of the script to be removed
Trait Implementations§
Source§impl<'a> Debug for DeleteScript<'a>
impl<'a> Debug for DeleteScript<'a>
Source§impl EndpointSpec for DeleteScript<'_>
impl EndpointSpec for DeleteScript<'_>
Source§type JsonResponse = ScriptDeleteID
type JsonResponse = ScriptDeleteID
The JSON response type for this endpoint, if any. Read more
Source§type ResponseType = ApiSuccess<<DeleteScript<'_> as EndpointSpec>::JsonResponse>
type ResponseType = ApiSuccess<<DeleteScript<'_> as EndpointSpec>::JsonResponse>
The final response type for this endpoint. Read more
Source§const IS_RAW_BODY: bool = false
const IS_RAW_BODY: bool = false
If the body of the response is raw bytes (Vec), set this to
true. Defaults to false.Source§fn query(&self) -> Option<String>
fn query(&self) -> Option<String>
The url-encoded query string associated with this endpoint. Defaults to
None. Read moreSource§fn body(&self) -> Option<RequestBody<'_>>
fn body(&self) -> Option<RequestBody<'_>>
The HTTP body associated with this endpoint. If not implemented, defaults to
None. Read moreAuto Trait Implementations§
impl<'a> Freeze for DeleteScript<'a>
impl<'a> RefUnwindSafe for DeleteScript<'a>
impl<'a> Send for DeleteScript<'a>
impl<'a> Sync for DeleteScript<'a>
impl<'a> Unpin for DeleteScript<'a>
impl<'a> UnwindSafe for DeleteScript<'a>
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