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 {
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),
}
}
}