pub struct DeleteSecret<'a> {
pub account_identifier: &'a str,
pub script_name: &'a str,
pub secret_name: &'a str,
}Expand description
Delete Secret https://api.cloudflare.com/#worker-delete-secret
Fields§
§account_identifier: &'a straccount id of owner of the script
script_name: &'a strthe name of the script to remove the secret from
secret_name: &'a strthe variable name of the secret
Trait Implementations§
Source§impl<'a> Debug for DeleteSecret<'a>
impl<'a> Debug for DeleteSecret<'a>
Source§impl EndpointSpec for DeleteSecret<'_>
impl EndpointSpec for DeleteSecret<'_>
Source§type JsonResponse = ()
type JsonResponse = ()
The JSON response type for this endpoint, if any. Read more
Source§type ResponseType = ApiSuccess<<DeleteSecret<'_> as EndpointSpec>::JsonResponse>
type ResponseType = ApiSuccess<<DeleteSecret<'_> 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 DeleteSecret<'a>
impl<'a> RefUnwindSafe for DeleteSecret<'a>
impl<'a> Send for DeleteSecret<'a>
impl<'a> Sync for DeleteSecret<'a>
impl<'a> Unpin for DeleteSecret<'a>
impl<'a> UnwindSafe for DeleteSecret<'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