pub struct ForgetopConfig {
pub connections: Vec<Connection>,
pub pull_requests: Option<PullRequestBinding>,
pub work_items: Option<WorkItemBinding>,
pub pipelines: Option<PipelineBinding>,
pub ui: UiState,
pub pipelines_opt_in: bool,
}Expand description
Root persisted configuration.
Fields§
§connections: Vec<Connection>§pull_requests: Option<PullRequestBinding>§work_items: Option<WorkItemBinding>§pipelines: Option<PipelineBinding>§ui: UiState§pipelines_opt_in: boolPipelines became opt-in: an empty selection fetches nothing, where it used to fetch
everything. Set once the one-time reset of “every pipeline” subscriptions has run (see
ConfigService::load), so a later “tick everything” choice is never reset again.
Implementations§
Source§impl ForgetopConfig
impl ForgetopConfig
pub fn find_connection(&self, id: &str) -> Option<&Connection>
Trait Implementations§
Source§impl Clone for ForgetopConfig
impl Clone for ForgetopConfig
Source§impl Debug for ForgetopConfig
impl Debug for ForgetopConfig
Source§impl Default for ForgetopConfig
impl Default for ForgetopConfig
Source§impl<'de> Deserialize<'de> for ForgetopConfig
impl<'de> Deserialize<'de> for ForgetopConfig
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
Auto Trait Implementations§
impl Freeze for ForgetopConfig
impl RefUnwindSafe for ForgetopConfig
impl Send for ForgetopConfig
impl Sync for ForgetopConfig
impl Unpin for ForgetopConfig
impl UnsafeUnpin for ForgetopConfig
impl UnwindSafe for ForgetopConfig
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