pub struct RequestTimeoutMs(/* private fields */);Expand description
A positive timeout in milliseconds that is safe to represent as a JSON number in every supported client language.
Implementations§
Trait Implementations§
Source§impl Clone for RequestTimeoutMs
impl Clone for RequestTimeoutMs
Source§fn clone(&self) -> RequestTimeoutMs
fn clone(&self) -> RequestTimeoutMs
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 RequestTimeoutMs
Source§impl Debug for RequestTimeoutMs
impl Debug for RequestTimeoutMs
Source§impl<'de> Deserialize<'de> for RequestTimeoutMs
impl<'de> Deserialize<'de> for RequestTimeoutMs
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
impl Eq for RequestTimeoutMs
Source§impl Hash for RequestTimeoutMs
impl Hash for RequestTimeoutMs
Source§impl JsonSchema for RequestTimeoutMs
impl JsonSchema for RequestTimeoutMs
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for RequestTimeoutMs
impl Ord for RequestTimeoutMs
Source§fn cmp(&self, other: &RequestTimeoutMs) -> Ordering
fn cmp(&self, other: &RequestTimeoutMs) -> 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 RequestTimeoutMs
impl PartialEq for RequestTimeoutMs
Source§impl PartialOrd for RequestTimeoutMs
impl PartialOrd for RequestTimeoutMs
Source§impl Serialize for RequestTimeoutMs
impl Serialize for RequestTimeoutMs
impl StructuralPartialEq for RequestTimeoutMs
Auto Trait Implementations§
impl Freeze for RequestTimeoutMs
impl RefUnwindSafe for RequestTimeoutMs
impl Send for RequestTimeoutMs
impl Sync for RequestTimeoutMs
impl Unpin for RequestTimeoutMs
impl UnsafeUnpin for RequestTimeoutMs
impl UnwindSafe for RequestTimeoutMs
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