pub struct OrgChart {
pub company_id: String,
pub nodes: Vec<OrgNode>,
}Expand description
An organisational chart linking a company to its agent hierarchy.
Fields§
§company_id: StringThe company this chart belongs to.
nodes: Vec<OrgNode>Ordered list of org nodes (first node is typically the CEO).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrgChart
impl<'de> Deserialize<'de> for OrgChart
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 OrgChart
impl RefUnwindSafe for OrgChart
impl Send for OrgChart
impl Sync for OrgChart
impl Unpin for OrgChart
impl UnsafeUnpin for OrgChart
impl UnwindSafe for OrgChart
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