pub fn add_location(&mut self, location: Location) {
        let mut vec = match &self.locations {
            Some(vec) => vec.clone(),
            None => Vec::new(),
        };

        vec.push(location);
        self.locations = Some(vec);
    }
/// Locations where the pass is relevant. For example, the location of your store.
Locations where the pass is relevant. For example, the location of your store.
Locations where the pass is relevant . For example the location of your store .
pub fn add_location(&mut self, location: Location) {
        let mut vec = match &self.locations {
            Some(vec) => vec.clone(),
            None => Vec::new(),
        };
        vec.push(location);
        self.locations = Some(vec);
    }
pub fn add_location ( & mut self , location : Location ) { let mut vec = match & self . locations { Some ( vec ) => vec . clone ( ) , None => Vec :: new ( ) , } ; vec . push ( location ) ; self . locations = Some ( vec ) ; }
Locations where the pass is relevant.
Locations where the pass is relevant .
&mut self
location
Location
&mut self
location
Location