pub struct CompanyNode {
pub node: GraphNode,
pub company_code: String,
pub company_name: String,
pub country: String,
pub currency: String,
pub is_parent: bool,
pub parent_code: Option<String>,
pub ownership_percent: Option<Decimal>,
}Expand description
Company/Entity node for entity relationship graphs.
Fields§
§node: GraphNodeBase node.
company_code: StringCompany code.
company_name: StringCompany name.
country: StringCountry.
currency: StringCurrency.
is_parent: boolIs parent company.
parent_code: Option<String>Parent company code.
ownership_percent: Option<Decimal>Ownership percentage (if subsidiary).
Implementations§
Source§impl CompanyNode
impl CompanyNode
Trait Implementations§
Source§impl Clone for CompanyNode
impl Clone for CompanyNode
Source§fn clone(&self) -> CompanyNode
fn clone(&self) -> CompanyNode
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 CompanyNode
impl Debug for CompanyNode
Source§impl<'de> Deserialize<'de> for CompanyNode
impl<'de> Deserialize<'de> for CompanyNode
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 CompanyNode
impl RefUnwindSafe for CompanyNode
impl Send for CompanyNode
impl Sync for CompanyNode
impl Unpin for CompanyNode
impl UnwindSafe for CompanyNode
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