pub struct StaleRequestSupportClientCapabilities {
pub cancel: bool,
pub retry_on_content_modified: Vec<String, Global>,
}
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, Global>
The list of requests for which the client will retry the request if it receives a response with error code `ContentModified``
Trait Implementations§
§impl Clone for StaleRequestSupportClientCapabilities
impl Clone for StaleRequestSupportClientCapabilities
§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 more§impl Default for StaleRequestSupportClientCapabilities
impl Default for StaleRequestSupportClientCapabilities
§fn default() -> StaleRequestSupportClientCapabilities
fn default() -> StaleRequestSupportClientCapabilities
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for StaleRequestSupportClientCapabilities
impl<'de> Deserialize<'de> for StaleRequestSupportClientCapabilities
§fn deserialize<__D>(
__deserializer: __D
) -> Result<StaleRequestSupportClientCapabilities, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<StaleRequestSupportClientCapabilities, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<StaleRequestSupportClientCapabilities> for StaleRequestSupportClientCapabilities
impl PartialEq<StaleRequestSupportClientCapabilities> for StaleRequestSupportClientCapabilities
§fn eq(&self, other: &StaleRequestSupportClientCapabilities) -> bool
fn eq(&self, other: &StaleRequestSupportClientCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for StaleRequestSupportClientCapabilities
impl Serialize for StaleRequestSupportClientCapabilities
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StaleRequestSupportClientCapabilities
Auto Trait Implementations§
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