pub struct BusinessUnit {
pub bu_id: String,
pub bu_name: String,
pub bu_description: Option<String>,
pub teams: Option<Vec<Team>>,
}Expand description
Represents a business unit
Fields§
§bu_id: StringUnique business unit ID
bu_name: StringBusiness unit name
bu_description: Option<String>Business unit description
teams: Option<Vec<Team>>List of teams in the business unit
Trait Implementations§
Source§impl Clone for BusinessUnit
impl Clone for BusinessUnit
Source§fn clone(&self) -> BusinessUnit
fn clone(&self) -> BusinessUnit
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 BusinessUnit
impl Debug for BusinessUnit
Source§impl<'de> Deserialize<'de> for BusinessUnit
impl<'de> Deserialize<'de> for BusinessUnit
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 BusinessUnit
impl RefUnwindSafe for BusinessUnit
impl Send for BusinessUnit
impl Sync for BusinessUnit
impl Unpin for BusinessUnit
impl UnwindSafe for BusinessUnit
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