pub enum Subscribe {
All,
Envs(Vec<String>),
PatternEnvs(Vec<String>),
}Variants§
All
Return all env variables
Envs(Vec<String>)
Subscribe by env list let v = vec![“my.project.key1”, “my.project.key2”, “my.project.key3”]; let subscribe = Subscribe::Envs(v);
PatternEnvs(Vec<String>)
Subscribe by pattern env. Example by pattern: let v = vec![“my.project.”, “my.project2.”]; let subscribe = Subscribe::PatternEnvs(v);
Trait Implementations§
impl Eq for Subscribe
impl StructuralPartialEq for Subscribe
Auto Trait Implementations§
impl Freeze for Subscribe
impl RefUnwindSafe for Subscribe
impl Send for Subscribe
impl Sync for Subscribe
impl Unpin for Subscribe
impl UnwindSafe for Subscribe
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