pub struct ItemConfig {
pub id: String,
pub enabled: bool,
pub priority: i64,
pub version: String,
pub config_yaml: Vec<u8>,
}Fields§
§id: String§enabled: bool§priority: i64§version: Stringstore.version or store.release-tag, normalized (no v), when valid.
config_yaml: Vec<u8>The plugin’s subtree with enabled and priority filled in, sent at
register/reconfigure.
Implementations§
Source§impl ItemConfig
impl ItemConfig
Sourcepub fn default_for(id: &str) -> Self
pub fn default_for(id: &str) -> Self
Go defaultRuntimeItemConfig: a discovered plugin without a config entry.
Trait Implementations§
Source§impl Clone for ItemConfig
impl Clone for ItemConfig
Source§impl Debug for ItemConfig
impl Debug for ItemConfig
Source§impl PartialEq for ItemConfig
impl PartialEq for ItemConfig
impl StructuralPartialEq for ItemConfig
Auto Trait Implementations§
impl Forget for ItemConfig
impl Freeze for ItemConfig
impl Move for ItemConfig
impl RefUnwindSafe for ItemConfig
impl Send for ItemConfig
impl Sync for ItemConfig
impl Unpin for ItemConfig
impl UnsafeUnpin for ItemConfig
impl UnwindSafe for ItemConfig
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,
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