pub struct ConfigSpec {
pub engine: ConfigEngine,
pub path_prefix: Option<String>,
pub poll_interval_seconds: u64,
pub endpoints: Vec<String>,
pub repo: Option<String>,
pub git_ref: Option<String>,
pub sources: Vec<ConfigEngine>,
}Fields§
§engine: ConfigEngine§path_prefix: Option<String>§poll_interval_seconds: u64§endpoints: Vec<String>§repo: Option<String>§git_ref: Option<String>§sources: Vec<ConfigEngine>Trait Implementations§
Source§impl Clone for ConfigSpec
impl Clone for ConfigSpec
Source§fn clone(&self) -> ConfigSpec
fn clone(&self) -> ConfigSpec
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 moreAuto Trait Implementations§
impl Freeze for ConfigSpec
impl RefUnwindSafe for ConfigSpec
impl Send for ConfigSpec
impl Sync for ConfigSpec
impl Unpin for ConfigSpec
impl UnsafeUnpin for ConfigSpec
impl UnwindSafe for ConfigSpec
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