pub struct GetLegalEntitiesResponse {Show 16 fields
pub meta: Option<Meta>,
pub id: String,
pub created_at: String,
pub updated_at: String,
pub tax_identifier: Option<String>,
pub country: Option<Country>,
pub legal_name: Option<String>,
pub entity_level: Option<EntityLevel>,
pub registration_date: Option<String>,
pub mailing_address: Option<Address>,
pub physical_address: Option<Address>,
pub parent_id: Option<String>,
pub parent: Option<LegalEntity>,
pub management_type: Option<ManagementType>,
pub company_id: Option<String>,
pub company: Option<Company>,
}
Fields§
§meta: Option<Meta>
§id: String
Identifier field
created_at: String
Record creation date
updated_at: String
Record update date
tax_identifier: Option<String>
The tax identifier for the legal entity.
country: Option<Country>
The country the legal entity is based in.
legal_name: Option<String>
The legal name of the legal entity.
entity_level: Option<EntityLevel>
The legal entity’s level in a hierarchy. * PARENT
: The legal entity is considered the ultimate holding entity. * SUBSIDIARY
: The legal entity is considered a subsidiary, fully or partially held by another. * BRANCH
: The legal entity is considered a branch, associated with a parent legal entity.
registration_date: Option<String>
The registration date of the entity.
mailing_address: Option<Address>
The mailing address of the legal entity.
physical_address: Option<Address>
The physical address of the legal entity, if it differs from the mailing address.
parent_id: Option<String>
The parent legal entity.
parent: Option<LegalEntity>
The parent legal entity.
Expandable field
management_type: Option<ManagementType>
The legal entity management type in the case of an employer of record (EOR) or professional employment organization (PEO). * PEO
: The legal entity is considered a Professional Employment Organization (PEO). * EOR
: The legal entity is considered an Employer of Record (EOR).
company_id: Option<String>
The company or organization associated with the legal entity
company: Option<Company>
The company or organization associated with the legal entity
Expandable field
Trait Implementations§
Source§impl Clone for GetLegalEntitiesResponse
impl Clone for GetLegalEntitiesResponse
Source§fn clone(&self) -> GetLegalEntitiesResponse
fn clone(&self) -> GetLegalEntitiesResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetLegalEntitiesResponse
impl Debug for GetLegalEntitiesResponse
Source§impl<'de> Deserialize<'de> for GetLegalEntitiesResponse
impl<'de> Deserialize<'de> for GetLegalEntitiesResponse
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>,
Source§impl Display for GetLegalEntitiesResponse
impl Display for GetLegalEntitiesResponse
Source§impl JsonSchema for GetLegalEntitiesResponse
impl JsonSchema for GetLegalEntitiesResponse
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for GetLegalEntitiesResponse
impl PartialEq for GetLegalEntitiesResponse
Source§impl Serialize for GetLegalEntitiesResponse
impl Serialize for GetLegalEntitiesResponse
Source§impl Tabled for GetLegalEntitiesResponse
impl Tabled for GetLegalEntitiesResponse
impl StructuralPartialEq for GetLegalEntitiesResponse
Auto Trait Implementations§
impl Freeze for GetLegalEntitiesResponse
impl RefUnwindSafe for GetLegalEntitiesResponse
impl Send for GetLegalEntitiesResponse
impl Sync for GetLegalEntitiesResponse
impl Unpin for GetLegalEntitiesResponse
impl UnwindSafe for GetLegalEntitiesResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.