gps 7.3.3

Official CLI & library for Git Patch Stack
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::super::super::utils;
use serde::Deserialize;
use std::option::Option;

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

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