Struct rippling_api::types::LegalEntityRequest
source · pub struct LegalEntityRequest {
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 management_type: Option<ManagementType>,
pub company_id: Option<String>,
}Expand description
Fields§
§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.
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
Trait Implementations§
source§impl Clone for LegalEntityRequest
impl Clone for LegalEntityRequest
source§fn clone(&self) -> LegalEntityRequest
fn clone(&self) -> LegalEntityRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LegalEntityRequest
impl Debug for LegalEntityRequest
source§impl<'de> Deserialize<'de> for LegalEntityRequest
impl<'de> Deserialize<'de> for LegalEntityRequest
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 LegalEntityRequest
impl Display for LegalEntityRequest
source§impl JsonSchema for LegalEntityRequest
impl JsonSchema for LegalEntityRequest
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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moresource§impl PartialEq for LegalEntityRequest
impl PartialEq for LegalEntityRequest
source§impl Serialize for LegalEntityRequest
impl Serialize for LegalEntityRequest
source§impl Tabled for LegalEntityRequest
impl Tabled for LegalEntityRequest
impl StructuralPartialEq for LegalEntityRequest
Auto Trait Implementations§
impl Freeze for LegalEntityRequest
impl RefUnwindSafe for LegalEntityRequest
impl Send for LegalEntityRequest
impl Sync for LegalEntityRequest
impl Unpin for LegalEntityRequest
impl UnwindSafe for LegalEntityRequest
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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 more