pub struct DavConditionalPlan {
pub outcome: DavConditionalOutcome,
pub range: DavRangeEvaluation,
/* private fields */
}Expand description
Complete transport-neutral result of HTTP conditional request planning.
Fields§
§outcome: DavConditionalOutcomeSelected request outcome.
range: DavRangeEvaluationWhether the range planner is the next RFC 9110 step.
Implementations§
Source§impl DavConditionalPlan
impl DavConditionalPlan
Sourcepub fn apply_response_headers(
&self,
status: StatusCode,
headers: &mut HeaderMap,
)
pub fn apply_response_headers( &self, status: StatusCode, headers: &mut HeaderMap, )
Copies representation validators onto statuses whose response contract retains them.
Trait Implementations§
Source§impl Clone for DavConditionalPlan
impl Clone for DavConditionalPlan
Source§fn clone(&self) -> DavConditionalPlan
fn clone(&self) -> DavConditionalPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DavConditionalPlan
impl RefUnwindSafe for DavConditionalPlan
impl Send for DavConditionalPlan
impl Sync for DavConditionalPlan
impl Unpin for DavConditionalPlan
impl UnwindSafe for DavConditionalPlan
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