pub enum RequestSemantics {
Safe,
Idempotent,
NonIdempotent,
}Expand description
HTTP request semantics independent of provider impact.
Variants§
Safe
Repeating the request is both read-only and idempotent.
Idempotent
Repeating the request has the same intended effect, but it changes state.
NonIdempotent
Repeating the request can create an additional or different effect.
Trait Implementations§
Source§impl Clone for RequestSemantics
impl Clone for RequestSemantics
Source§fn clone(&self) -> RequestSemantics
fn clone(&self) -> RequestSemantics
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 moreimpl Copy for RequestSemantics
Source§impl Debug for RequestSemantics
impl Debug for RequestSemantics
impl Eq for RequestSemantics
Source§impl Hash for RequestSemantics
impl Hash for RequestSemantics
Source§impl Ord for RequestSemantics
impl Ord for RequestSemantics
Source§fn cmp(&self, other: &RequestSemantics) -> Ordering
fn cmp(&self, other: &RequestSemantics) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RequestSemantics
impl PartialEq for RequestSemantics
Source§impl PartialOrd for RequestSemantics
impl PartialOrd for RequestSemantics
impl StructuralPartialEq for RequestSemantics
Auto Trait Implementations§
impl Freeze for RequestSemantics
impl RefUnwindSafe for RequestSemantics
impl Send for RequestSemantics
impl Sync for RequestSemantics
impl Unpin for RequestSemantics
impl UnsafeUnpin for RequestSemantics
impl UnwindSafe for RequestSemantics
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