pub struct ConfigData {
pub repositories: Vec<Repository>,
}
Fields§
§repositories: Vec<Repository>
Implementations§
Source§impl ConfigData
impl ConfigData
pub fn load_config_from_str(buf: &str) -> Result<Self>
pub async fn load_config_from(path: &Path) -> Result<Self>
Trait Implementations§
Source§impl Debug for ConfigData
impl Debug for ConfigData
Source§impl Default for ConfigData
impl Default for ConfigData
Source§fn default() -> ConfigData
fn default() -> ConfigData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigData
impl<'de> Deserialize<'de> for ConfigData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConfigData
impl PartialEq for ConfigData
Source§impl Serialize for ConfigData
impl Serialize for ConfigData
impl StructuralPartialEq for ConfigData
Auto Trait Implementations§
impl Freeze for ConfigData
impl RefUnwindSafe for ConfigData
impl Send for ConfigData
impl Sync for ConfigData
impl Unpin for ConfigData
impl UnwindSafe for ConfigData
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more