pub fn add_beacon(&mut self, beacon: Beacon) {
        let mut vec = match &self.beacons {
            Some(vec) => vec.clone(),
            None => Vec::new(),
        };

        vec.push(beacon);
        self.beacons = Some(vec);
    }
/// Beacons marking locations where the pass is relevant.
/// Available in iOS 7.0.
Beacons marking locations where the pass is relevant.
Beacons marking locations where the pass is relevant .
pub fn add_beacon(&mut self, beacon: Beacon) {
        let mut vec = match &self.beacons {
            Some(vec) => vec.clone(),
            None => Vec::new(),
        };
        vec.push(beacon);
        self.beacons = Some(vec);
    }
pub fn add_beacon ( & mut self , beacon : Beacon ) { let mut vec = match & self . beacons { Some ( vec ) => vec . clone ( ) , None => Vec :: new ( ) , } ; vec . push ( beacon ) ; self . beacons = Some ( vec ) ; }
Beacons marking locations where the pass is relevant.
Beacons marking locations where the pass is relevant .
&mut self
beacon
Beacon
&mut self
beacon
Beacon