Struct tauri::http::version::Version
x3A;:version::Version,
pub struct Version(_);
Expand description
Represents a version of the HTTP spec.
#
ImplementationsVersion[src]#
implHTTP_09: Version[src]#
pub constHTTP/0.9
HTTP_10: Version[src]#
pub constHTTP/1.0
HTTP_11: Version[src]#
pub constHTTP/1.1
HTTP_2: Version[src]#
pub constHTTP/2.0
HTTP_3: Version[src]#
pub constHTTP/3.0
#
Trait ImplementationsClone for Version[src]#
implclone(&self) -> Version[src]#
pub fnReturns a copy of the value. Read more
clone_from(&mut self, source: &Self)1.0.0[src]#
fnPerforms copy-assignment from source
. Read more
Debug for Version[src]#
implfmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>[src]#
pub fnFormats the value using the given formatter. Read more
Default for Version[src]#
impldefault() -> Version[src]#
pub fnReturns the “default value” for a type. Read more
Hash for Version[src]#
implhash<__H>(&self, state: &mut__H) where __H: Hasher,[src]#
pub fnFeeds this value into the given Hasher
. Read more
hash_slice<H>(data: &[Self], state: &mutH) where H: Hasher,1.3.0[src]#
fnFeeds a slice of this type into the given Hasher
. Read more
Ord for Version[src]#
implcmp(&self, other: &Version) -> Ordering[src]#
pub fnThis method returns an Ordering
between self
and other
. Read more
max(self, other: Self) -> Self1.21.0[src]#
#[must_use]fnCompares and returns the maximum of two values. Read more
min(self, other: Self) -> Self1.21.0[src]#
#[must_use]fnCompares and returns the minimum of two values. Read more
clamp(self, min: Self, max: Self) -> Self1.50.0[src]#
#[must_use]fnRestrict a value to a certain interval. Read more
PartialEq<Version> for Version[src]#
impleq(&self, other: &Version) -> bool[src]#
pub fnThis method tests for self
and other
values to be equal, and is used by ==
. Read more
ne(&self, other: &Version) -> bool[src]#
pub fnThis method tests for !=
.
PartialOrd<Version> for Version[src]#
implpartial_cmp(&self, other: &Version) -> Option<Ordering>[src]#
pub fnThis method returns an ordering between self
and other
values if one exists. Read more
lt(&self, other: &Rhs) -> bool1.0.0[src]#
#[must_use]fnThis method tests less than (for self
and other
) and is used by the <
operator. Read more
le(&self, other: &Rhs) -> bool1.0.0[src]#
#[must_use]fnThis method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
gt(&self, other: &Rhs) -> bool1.0.0[src]#
#[must_use]fnThis method tests greater than (for self
and other
) and is used by the >
operator. Read more
ge(&self, other: &Rhs) -> bool1.0.0[src]#
#[must_use]fnThis method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
Copy for Version#
implEq for Version#
implStructuralEq for Version#
implStructuralPartialEq for Version#
impl#
Auto Trait ImplementationsRefUnwindSafe for Version#
implSend for Version#
implSync for Version#
implUnpin for Version#
implUnwindSafe for Version#
impl#
Blanket ImplementationsAny for T where T: 'static + ?Sized,[src]#
impl<T>type_id(&self) -> TypeId[src]#
pub fnGets the TypeId
of self
. Read more
Borrow<T> for T where T: ?Sized,[src]#
impl<T>borrow(&self) -> &T[src]#
pub fnImmutably borrows from an owned value. Read more
BorrowMut<T> for T where T: ?Sized,[src]#
impl<T>borrow_mut(&mut self) -> &mutT[src]#
pub fnMutably borrows from an owned value. Read more
From<T> for T[src]#
impl<T>from(t: T) -> T[src]#
pub fnPerforms the conversion.
Into<U> for T where U: From<T>,[src]#
impl<T, U>into(self) -> U[src]#
pub fnPerforms the conversion.
ToOwned for T where T: Clone,[src]#
impl<T>Owned = T#
typeThe resulting type after obtaining ownership.
to_owned(&self) -> T[src]#
pub fnCreates owned data from borrowed data, usually by cloning. Read more
clone_into(&self, target: &mutT)[src]#
pub fn🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
TryFrom<U> for T where U: Into<T>,[src]#
impl<T, U>Error = Infallible#
typeThe type returned in the event of a conversion error.
try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]#
pub fnPerforms the conversion.
TryInto<U> for T where U: TryFrom<T>,[src]#
impl<T, U>Error = <U as TryFrom<T>>::Error#
typeThe type returned in the event of a conversion error.
try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]#
pub fnPerforms the conversion.