pub struct EagerPackageConfigs {
pub packages: Vec<EagerPackageConfig>,
}
Fields§
§packages: Vec<EagerPackageConfig>
Implementations§
Source§impl EagerPackageConfigs
impl EagerPackageConfigs
Sourcepub async fn from_namespace() -> Result<Self, EagerPackageConfigsError>
pub async fn from_namespace() -> Result<Self, EagerPackageConfigsError>
Read eager config from namespace. Returns an empty instance of EagerPackageConfigs
in
case config was not found.
Trait Implementations§
Source§impl Clone for EagerPackageConfigs
impl Clone for EagerPackageConfigs
Source§fn clone(&self) -> EagerPackageConfigs
fn clone(&self) -> EagerPackageConfigs
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EagerPackageConfigs
impl Debug for EagerPackageConfigs
Source§impl<'de> Deserialize<'de> for EagerPackageConfigs
impl<'de> Deserialize<'de> for EagerPackageConfigs
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 EagerPackageConfigs
impl PartialEq for EagerPackageConfigs
Source§impl Serialize for EagerPackageConfigs
impl Serialize for EagerPackageConfigs
impl Eq for EagerPackageConfigs
impl StructuralPartialEq for EagerPackageConfigs
Auto Trait Implementations§
impl Freeze for EagerPackageConfigs
impl RefUnwindSafe for EagerPackageConfigs
impl Send for EagerPackageConfigs
impl Sync for EagerPackageConfigs
impl Unpin for EagerPackageConfigs
impl UnwindSafe for EagerPackageConfigs
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)