pub fn add_primary_field(&mut self, field: Field) {
        let mut vec = match &self.primary_fields {
            Some(vec) => vec.clone(),
            None => Vec::new(),
        };
        vec.push(field);

        self.primary_fields = Some(vec);
    }
/// Add field to be displayed prominently on the front of the pass.    
Add field to be displayed prominently on the front of the pass.
Add field to be displayed prominently on the front of the pass .
pub fn add_primary_field(&mut self, field: Field) {
        let mut vec = match &self.primary_fields {
            Some(vec) => vec.clone(),
            None => Vec::new(),
        };
        vec.push(field);
        self.primary_fields = Some(vec);
    }
pub fn add_primary_field ( & mut self , field : Field ) { let mut vec = match & self . primary_fields { Some ( vec ) => vec . clone ( ) , None => Vec :: new ( ) , } ; vec . push ( field ) ; self . primary_fields = Some ( vec ) ; }
Add field to be displayed prominently on the front of the pass.
Add field to be displayed prominently on the front of the pass .
&mut self
field
Field
&mut self
field
Field