pub struct StaleRequestSupportClientCapabilities {
pub cancel: bool,
pub retry_on_content_modified: Vec<String>,
}
Expand description
Client capability that signals how the client handles stale requests (e.g. a request for which the client will not process the response anymore since the information is outdated).
@since 3.17.0
Fields§
§cancel: bool
The client will actively cancel the request.
retry_on_content_modified: Vec<String>
The list of requests for which the client will retry the request if it receives a response with error code `ContentModified``
Trait Implementations§
source§impl Clone for StaleRequestSupportClientCapabilities
impl Clone for StaleRequestSupportClientCapabilities
source§fn clone(&self) -> StaleRequestSupportClientCapabilities
fn clone(&self) -> StaleRequestSupportClientCapabilities
Returns a copy 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 moresource§impl Default for StaleRequestSupportClientCapabilities
impl Default for StaleRequestSupportClientCapabilities
source§fn default() -> StaleRequestSupportClientCapabilities
fn default() -> StaleRequestSupportClientCapabilities
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StaleRequestSupportClientCapabilities
impl<'de> Deserialize<'de> for StaleRequestSupportClientCapabilities
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for StaleRequestSupportClientCapabilities
impl PartialEq for StaleRequestSupportClientCapabilities
source§fn eq(&self, other: &StaleRequestSupportClientCapabilities) -> bool
fn eq(&self, other: &StaleRequestSupportClientCapabilities) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for StaleRequestSupportClientCapabilities
Auto Trait Implementations§
impl Freeze for StaleRequestSupportClientCapabilities
impl RefUnwindSafe for StaleRequestSupportClientCapabilities
impl Send for StaleRequestSupportClientCapabilities
impl Sync for StaleRequestSupportClientCapabilities
impl Unpin for StaleRequestSupportClientCapabilities
impl UnwindSafe for StaleRequestSupportClientCapabilities
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)