pub struct Url {Show 13 fields
pub url: Url,
pub protocol: Protocol,
pub last_sync: Option<DateTime<Utc>>,
pub completion_pct: f64,
pub duration_average: Option<f64>,
pub duration_stddev: Option<f64>,
pub score: Option<f64>,
pub active: bool,
pub country: Country,
pub isos: bool,
pub ipv4: bool,
pub ipv6: bool,
pub details: String,
}Expand description
An Arch Linux mirror and its statistics.
Fields§
§url: UrlThe url of the mirror.
protocol: ProtocolThe protocol that this mirror uses.
last_sync: Option<DateTime<Utc>>The last time it synced from Arch Linux server.
completion_pct: f64Completion PCT. Unknown what this means.
duration_average: Option<f64>The average duration. Unknown what this means.
duration_stddev: Option<f64>Duration StdDev. Unknown what this means.
score: Option<f64>The score of the mirror. This is currently calculated as (hours delay + average duration + standard deviation) / completion percentage.
Lower is better.
active: boolWhether or not the mirror is active.
country: CountryThe country where the mirror resides in.
isos: boolWhether or not this mirror has Arch Linux ISOs(?)
ipv4: boolWhether or not this mirror supports IPv4.
ipv6: boolWhether or not this mirror supports IPv6.
details: StringThe details of the mirror.
Trait Implementations§
Source§impl PartialOrd for Url
impl PartialOrd for Url
impl StructuralPartialEq for Url
Auto Trait Implementations§
impl Freeze for Url
impl RefUnwindSafe for Url
impl Send for Url
impl Sync for Url
impl Unpin for Url
impl UnwindSafe for Url
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