gps 7.3.3

Official CLI & library for Git Patch Stack
Documentation
use super::super::super::utils;
use serde::Deserialize;
use std::option::Option;

#[derive(Debug, Deserialize, Clone, Default)]
pub struct FetchConfigDto {
    pub show_upstream_patches_after_fetch: Option<bool>,
}

impl utils::Mergable for FetchConfigDto {
    /// Merge the provided b with self overriding with any present values
    fn merge(&self, b: &Self) -> Self {
        FetchConfigDto {
            show_upstream_patches_after_fetch: b
                .show_upstream_patches_after_fetch
                .or(self.show_upstream_patches_after_fetch),
        }
    }
}