pub fn viewable_types(&self) -> Vec<MeetingType> {
        // Start with a vector of sufficient capacity to hold a full access list.
        let mut visible_types: Vec<MeetingType> = Vec::with_capacity(ALL_MEETING_TYPES.len());
        // Add all the types this user is authorized for.
        for ty in ALL_MEETING_TYPES.iter() {
            if self.can_view(*ty) {
                visible_types.push(*ty);
            }
        }
        return visible_types;
    }
/// Get a list of the types of meetings viewable under this authorization.
Get a list of the types of meetings viewable under this authorization.
Get a list of the types of meetings viewable under this authorization .
pub fn viewable_types(&self) -> Vec<MeetingType> {
        // Start with a vector of sufficient capacity to hold a full access list.
        let mut visible_types: Vec<MeetingType> = Vec::with_capacity(ALL_MEETING_TYPES.len());
        // Add all the types this user is authorized for.
        for ty in ALL_MEETING_TYPES.iter() {
            if self.can_view(*ty) {
                visible_types.push(*ty);
            }
        }
        return visible_types;
    }
pub fn viewable_types ( & self ) -> Vec < MeetingType > { // Start with a vector of sufficient capacity to hold a full access list. let mut visible_types : Vec < MeetingType > = Vec :: with_capacity ( ALL_MEETING_TYPES . len ( ) ) ; // Add all the types this user is authorized for. for ty in ALL_MEETING_TYPES . iter ( ) { if self . can_view ( * ty ) { visible_types . push ( * ty ) ; } } return visible_types ; }
Get a list of the types of meetings viewable under this authorization.
Get a list of the types of meetings viewable under this authorization .
&self
&self