pub struct PreparedUnloadRequest {
pub label: String,
pub url: String,
pub body: String,
pub fallback_command: Option<Vec<String>>,
}Expand description
Pure projection of a ProviderUnloadAction into the request that will be
sent. Separated from execute_unload_request so the model-tag override
and body-rewrite logic is fully testable without a live HTTP server.
Returns None for non-API actions (noop, process-exit, sleep-only) — those
don’t carry an HTTP request and are reported as skipped by the dispatcher.
Fields§
§label: String§url: String§body: String§fallback_command: Option<Vec<String>>Trait Implementations§
Source§impl Clone for PreparedUnloadRequest
impl Clone for PreparedUnloadRequest
Source§fn clone(&self) -> PreparedUnloadRequest
fn clone(&self) -> PreparedUnloadRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreparedUnloadRequest
impl Debug for PreparedUnloadRequest
impl Eq for PreparedUnloadRequest
Source§impl PartialEq for PreparedUnloadRequest
impl PartialEq for PreparedUnloadRequest
Source§fn eq(&self, other: &PreparedUnloadRequest) -> bool
fn eq(&self, other: &PreparedUnloadRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PreparedUnloadRequest
Auto Trait Implementations§
impl Freeze for PreparedUnloadRequest
impl RefUnwindSafe for PreparedUnloadRequest
impl Send for PreparedUnloadRequest
impl Sync for PreparedUnloadRequest
impl Unpin for PreparedUnloadRequest
impl UnsafeUnpin for PreparedUnloadRequest
impl UnwindSafe for PreparedUnloadRequest
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