pub struct CreateTail<'a> {
pub account_identifier: &'a str,
pub script_name: &'a str,
pub params: CreateTailParams,
}Expand description
Create Tail https://api.cloudflare.com/#worker-create-tail
Fields§
§account_identifier: &'a strAccount ID of owner of the script
script_name: &'a strThe name of the script to tail
params: CreateTailParamsV1 of tailing involved creating a separate URL, which is still possible.
V2 does not involve a separate URL, so it can be omitted.
Trait Implementations§
Source§impl<'a> Debug for CreateTail<'a>
impl<'a> Debug for CreateTail<'a>
Source§impl EndpointSpec for CreateTail<'_>
impl EndpointSpec for CreateTail<'_>
Source§type JsonResponse = WorkersTail
type JsonResponse = WorkersTail
The JSON response type for this endpoint, if any. Read more
Source§type ResponseType = ApiSuccess<<CreateTail<'_> as EndpointSpec>::JsonResponse>
type ResponseType = ApiSuccess<<CreateTail<'_> as EndpointSpec>::JsonResponse>
The final response type for this endpoint. Read more
Source§fn body(&self) -> Option<RequestBody<'_>>
fn body(&self) -> Option<RequestBody<'_>>
The HTTP body associated with this endpoint. If not implemented, defaults to
None. Read moreSource§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 moreAuto Trait Implementations§
impl<'a> Freeze for CreateTail<'a>
impl<'a> RefUnwindSafe for CreateTail<'a>
impl<'a> Send for CreateTail<'a>
impl<'a> Sync for CreateTail<'a>
impl<'a> Unpin for CreateTail<'a>
impl<'a> UnwindSafe for CreateTail<'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