pub struct RepositorySet {
pub root_aliases: BTreeMap<String, BTreeMap<String, (String, String)>>,
pub root_references: BTreeMap<String, String>,
pub acceptable_stabilities: BTreeMap<String, i32>,
pub stability_flags: BTreeMap<String, i32>,
pub root_requires: OrderedMap<Constraint>,
pub temporary_constraints: BTreeMap<String, Constraint>,
pub repositories: Vec<Repository>,
}Expand description
Composer\Repository\RepositorySet.
Fields§
§root_aliases: BTreeMap<String, BTreeMap<String, (String, String)>>name -> version -> (alias, alias_normalized) (getRootAliasesPerPackage).
root_references: BTreeMap<String, String>§acceptable_stabilities: BTreeMap<String, i32>§stability_flags: BTreeMap<String, i32>§root_requires: OrderedMap<Constraint>§temporary_constraints: BTreeMap<String, Constraint>§repositories: Vec<Repository>Implementations§
Source§impl RepositorySet
impl RepositorySet
pub fn new( minimum_stability: &str, stability_flags: BTreeMap<String, i32>, root_aliases: &[RootAlias], root_references: BTreeMap<String, String>, root_requires: OrderedMap<Constraint>, temporary_constraints: BTreeMap<String, Constraint>, ) -> RepositorySet
pub fn add_repository(&mut self, repo: Repository)
Auto Trait Implementations§
impl !RefUnwindSafe for RepositorySet
impl !Send for RepositorySet
impl !Sync for RepositorySet
impl !UnwindSafe for RepositorySet
impl Freeze for RepositorySet
impl Unpin for RepositorySet
impl UnsafeUnpin for RepositorySet
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