pub struct Role { /* private fields */ }Implementations§
Source§impl Role
impl Role
pub fn new() -> Self
pub fn department(&self) -> Option<&String>
pub fn title(&self) -> Option<&String>
pub fn start_date(&self) -> Option<&Date>
pub fn end_date(&self) -> Option<&Date>
pub fn organization(&self) -> Option<&Organization>
pub fn set_department(&mut self, department: Option<String>)
pub fn set_title(&mut self, title: Option<String>)
pub fn set_start_date(&mut self, start_date: Option<Date>)
pub fn set_end_date(&mut self, end_date: Option<Date>)
pub fn set_organization(&mut self, organization: Option<Organization>)
pub fn external_ids(&self) -> &Vec<(String, String)>
pub fn add_external_id(&mut self, id_type: &str, id_value: &str)
pub fn set_external_ids(&mut self, external_ids: Vec<(String, String)>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more