pub struct ChainSources {
pub marketplace: Option<MarketplaceSource>,
pub plugins: BTreeSet<PluginId>,
pub skill_owners: BTreeMap<SkillId, BTreeSet<PluginId>>,
pub marketplace_members: BTreeMap<EntityKind, BTreeSet<String>>,
}Fields§
§marketplace: Option<MarketplaceSource>§plugins: BTreeSet<PluginId>§skill_owners: BTreeMap<SkillId, BTreeSet<PluginId>>§marketplace_members: BTreeMap<EntityKind, BTreeSet<String>>Implementations§
Source§impl ChainSources
impl ChainSources
pub fn from_services(services: &ServicesConfig) -> Self
pub fn plugin_ids_to_load(&self) -> Vec<String>
pub fn is_marketplace_member(&self, kind: EntityKind, id: &str) -> bool
Trait Implementations§
Source§impl Clone for ChainSources
impl Clone for ChainSources
Source§fn clone(&self) -> ChainSources
fn clone(&self) -> ChainSources
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChainSources
impl Debug for ChainSources
Source§impl Default for ChainSources
impl Default for ChainSources
Source§fn default() -> ChainSources
fn default() -> ChainSources
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChainSources
impl RefUnwindSafe for ChainSources
impl Send for ChainSources
impl Sync for ChainSources
impl Unpin for ChainSources
impl UnsafeUnpin for ChainSources
impl UnwindSafe for ChainSources
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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