[][src]Struct repomon::Repomon

pub struct Repomon { /* fields omitted */ }

The base repomon config.

Methods

impl Repomon[src]

pub fn basedir(&self) -> &String[src]

The base directory to look for repositories.

pub fn repos(&self) -> &BTreeMap<String, Repo>[src]

A map of repository name to repository definitions.

impl Repomon[src]

pub fn set_basedir(&mut self, val: String) -> &mut Self[src]

The base directory to look for repositories.

pub fn set_repos(&mut self, val: BTreeMap<String, Repo>) -> &mut Self[src]

A map of repository name to repository definitions.

Trait Implementations

impl PartialEq<Repomon> for Repomon[src]

impl Clone for Repomon[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for Repomon[src]

impl Debug for Repomon[src]

impl Display for Repomon[src]

impl Serialize for Repomon[src]

impl<'de> Deserialize<'de> for Repomon[src]

Auto Trait Implementations

impl Send for Repomon

impl Sync for Repomon

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]