pub struct CustomDepartmentConfig {
pub code: String,
pub name: String,
pub cost_center: Option<String>,
pub primary_processes: Vec<String>,
pub parent_code: Option<String>,
}Expand description
Custom department definition.
Fields§
§code: StringDepartment code
name: StringDepartment name
cost_center: Option<String>Associated cost center
primary_processes: Vec<String>Primary business processes
parent_code: Option<String>Parent department code
Trait Implementations§
Source§impl Clone for CustomDepartmentConfig
impl Clone for CustomDepartmentConfig
Source§fn clone(&self) -> CustomDepartmentConfig
fn clone(&self) -> CustomDepartmentConfig
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 CustomDepartmentConfig
impl Debug for CustomDepartmentConfig
Source§impl<'de> Deserialize<'de> for CustomDepartmentConfig
impl<'de> Deserialize<'de> for CustomDepartmentConfig
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
Auto Trait Implementations§
impl Freeze for CustomDepartmentConfig
impl RefUnwindSafe for CustomDepartmentConfig
impl Send for CustomDepartmentConfig
impl Sync for CustomDepartmentConfig
impl Unpin for CustomDepartmentConfig
impl UnwindSafe for CustomDepartmentConfig
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