Struct git_transport::client::http::options::SslVersionRangeInclusive
source · pub struct SslVersionRangeInclusive {
pub min: SslVersion,
pub max: SslVersion,
}
Available on crate features
blocking-client
and http-client
only.Expand description
The desired range of acceptable SSL versions, or the single version to allow if both are set to the same value.
Fields§
§min: SslVersion
The smallest allowed ssl version to use.
max: SslVersion
The highest allowed ssl version to use.
Implementations§
source§impl SslVersionRangeInclusive
impl SslVersionRangeInclusive
sourcepub fn min_max(&self) -> (SslVersion, SslVersion)
pub fn min_max(&self) -> (SslVersion, SslVersion)
Return min
and max
fields in the right order so min
is smaller or equal to max
.
Trait Implementations§
source§impl Clone for SslVersionRangeInclusive
impl Clone for SslVersionRangeInclusive
source§fn clone(&self) -> SslVersionRangeInclusive
fn clone(&self) -> SslVersionRangeInclusive
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 Debug for SslVersionRangeInclusive
impl Debug for SslVersionRangeInclusive
source§impl PartialEq<SslVersionRangeInclusive> for SslVersionRangeInclusive
impl PartialEq<SslVersionRangeInclusive> for SslVersionRangeInclusive
source§fn eq(&self, other: &SslVersionRangeInclusive) -> bool
fn eq(&self, other: &SslVersionRangeInclusive) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.