pub struct RepositoryEntry {
pub name: String,
pub url: String,
pub enabled: bool,
pub trusted: bool,
pub priority: u32,
pub mirrors: Vec<MirrorMetadata>,
}Expand description
A single repository entry in the configuration.
Fields§
§name: StringRepository name
url: StringRepository URL
enabled: boolWhether this repository is enabled
trusted: boolWhether this repository is trusted
priority: u32Priority (lower = checked first)
mirrors: Vec<MirrorMetadata>Mirror manager for this repository
Trait Implementations§
Source§impl Clone for RepositoryEntry
impl Clone for RepositoryEntry
Source§fn clone(&self) -> RepositoryEntry
fn clone(&self) -> RepositoryEntry
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RepositoryEntry
impl RefUnwindSafe for RepositoryEntry
impl Send for RepositoryEntry
impl Sync for RepositoryEntry
impl Unpin for RepositoryEntry
impl UnwindSafe for RepositoryEntry
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)