pub struct Organisation {
pub id: PartyId,
pub name: String,
pub legal_form: String,
pub country: Country,
pub registrations: Vec<Registration>,
pub tax_ids: Vec<TaxId>,
pub shares: Vec<Shares>,
}Expand description
An organisation: a company, an association, a foundation, a partnership.
Fields§
§id: PartyIdIts identity.
name: StringIts name, as registered.
legal_form: StringIts legal form, e.g. de-gmbh, de-ev, fr-sas (codes are listed in the specification).
country: CountryThe country whose law it is formed under.
registrations: Vec<Registration>Its entries in public registers; left out when none.
tax_ids: Vec<TaxId>Its tax numbers; left out when none.
How its capital is divided into shares, one entry per nominal amount; left out when it has no shares.
Implementations§
Trait Implementations§
Source§impl Clone for Organisation
impl Clone for Organisation
Source§fn clone(&self) -> Organisation
fn clone(&self) -> Organisation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Organisation
impl Debug for Organisation
Source§impl<'de> Deserialize<'de> for Organisation
impl<'de> Deserialize<'de> for Organisation
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
impl Eq for Organisation
Source§impl Hash for Organisation
impl Hash for Organisation
Source§impl Object for Organisation
impl Object for Organisation
Source§impl PartialEq for Organisation
impl PartialEq for Organisation
Source§impl Serialize for Organisation
impl Serialize for Organisation
impl StructuralPartialEq for Organisation
Auto Trait Implementations§
impl Freeze for Organisation
impl RefUnwindSafe for Organisation
impl Send for Organisation
impl Sync for Organisation
impl Unpin for Organisation
impl UnsafeUnpin for Organisation
impl UnwindSafe for Organisation
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