pub struct Responsibility {
pub meta: Bo4eMeta,
pub subject_area: Option<SubjectArea>,
pub position: Option<String>,
pub department: Option<String>,
}Expand description
Area of responsibility for a contact person.
Contains the temporal assignment of a contact person to departments and responsibilities.
German: Zustaendigkeit
§Example
use bo4e_core::com::Responsibility;
use bo4e_core::enums::SubjectArea;
let resp = Responsibility {
subject_area: Some(SubjectArea::MarketCommunication),
position: Some("Manager".to_string()),
department: Some("IT".to_string()),
..Default::default()
};Fields§
§meta: Bo4eMetaBO4E metadata
subject_area: Option<SubjectArea>Subject area classification of the contact person (Themengebiet)
position: Option<String>Professional position/role of the contact person (Position)
department: Option<String>Department where the contact person works (Abteilung)
Trait Implementations§
Source§impl Bo4eObject for Responsibility
impl Bo4eObject for Responsibility
Source§fn type_name_german() -> &'static str
fn type_name_german() -> &'static str
Returns the German type name as used in the
_typ field. Read moreSource§fn type_name_english() -> &'static str
fn type_name_english() -> &'static str
Returns the English type name. Read more
Source§impl Clone for Responsibility
impl Clone for Responsibility
Source§fn clone(&self) -> Responsibility
fn clone(&self) -> Responsibility
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Responsibility
impl Debug for Responsibility
Source§impl Default for Responsibility
impl Default for Responsibility
Source§fn default() -> Responsibility
fn default() -> Responsibility
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Responsibility
impl<'de> Deserialize<'de> for Responsibility
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Responsibility
impl PartialEq for Responsibility
Source§impl Serialize for Responsibility
impl Serialize for Responsibility
impl StructuralPartialEq for Responsibility
Auto Trait Implementations§
impl Freeze for Responsibility
impl RefUnwindSafe for Responsibility
impl Send for Responsibility
impl Sync for Responsibility
impl Unpin for Responsibility
impl UnsafeUnpin for Responsibility
impl UnwindSafe for Responsibility
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