pub enum Field {
Show 32 variants
Lei,
Bic,
Isin,
EntityLegalName,
EntityOtherNames,
EntityLegalForm,
EntityLegalFormId,
EntityLegalFormCode,
EntityCategory,
EntityLegalAddressCountry,
EntityLegalAddressLine1,
EntityLegalAddressCity,
EntityLegalAddressPostalCode,
EntityHqAddressCountry,
EntityHqAddressLine1,
EntityHqAddressCity,
EntityHqAddressPostalCode,
EntityBusinessRegisterNumber,
EntityJurisdiction,
RegistrationStatus,
RegistrationInitialRegistrationDate,
RegistrationLastUpdateDate,
RegistrationNextRenewalDate,
RegistrationManagingLou,
ConformityFlag,
Owns,
OwnedBy,
RelationshipStartDate,
RelationshipEndDate,
RelationshipStatus,
RelationshipType,
Fulltext,
}
Expand description
Enum for known GLEIF API field names.
Variants§
Lei
The Legal Entity Identifier code (20-character alphanumeric code)
Bic
The Business Identifier Code (BIC
/SWIFT
code)
Isin
The International Securities Identification Number (ISIN
)
EntityLegalName
Legal name of the entity (official registered name)
EntityOtherNames
Other names the entity is known by (trade names, etc.)
EntityLegalForm
Legal form of the entity (LLC
, Inc
, GmbH
, etc.)
EntityLegalFormId
ID code for the legal form
EntityLegalFormCode
Legal form code according to the entity’s local jurisdiction
EntityCategory
Category of the legal entity (FUND
, BRANCH
, etc.)
EntityLegalAddressCountry
Country code of the entity’s legal address
EntityLegalAddressLine1
First line of the entity’s legal address
EntityLegalAddressCity
City of the entity’s legal address
EntityLegalAddressPostalCode
Postal code of the entity’s legal address
EntityHqAddressCountry
Country code of the entity’s headquarters address
EntityHqAddressLine1
First line of the entity’s headquarters address
EntityHqAddressCity
City of the entity’s headquarters address
EntityHqAddressPostalCode
Postal code of the entity’s headquarters address
EntityBusinessRegisterNumber
Business register number for the entity
EntityJurisdiction
Legal jurisdiction of the entity
RegistrationStatus
Status of the LEI registration (ISSUED
, LAPSED
, etc.)
RegistrationInitialRegistrationDate
Initial registration date of the LEI
RegistrationLastUpdateDate
Last update date of the LEI record
RegistrationNextRenewalDate
Next renewal date for the LEI
RegistrationManagingLou
The LEI issuer (Local Operating Unit) that manages this LEI
ConformityFlag
Data quality conformity status flag
Owns
Filter for relationships where the entity owns others
OwnedBy
Filter for relationships where the entity is owned by others
RelationshipStartDate
Start date of a relationship
RelationshipEndDate
End date of a relationship
RelationshipStatus
Status of a relationship (ACTIVE
, INACTIVE
)
RelationshipType
Type of relationship between entities
Fulltext
Searches all text fields in an LEI record
Implementations§
Source§impl Field
impl Field
Sourcepub const fn as_str(&self) -> &'static str
pub const fn as_str(&self) -> &'static str
Returns the canonical string representation for the API.
Sourcepub fn parse_with_allowed(
input: &str,
allowed: Option<&[Field]>,
) -> Result<Field>
pub fn parse_with_allowed( input: &str, allowed: Option<&[Field]>, ) -> Result<Field>
Parse a string to a Field, optionally restricting to a set of allowed values.
§Errors
Returns crate::error::GleifError::ParseError
if the input string is not a valid field name or is not allowed.
Trait Implementations§
impl Copy for Field
impl Eq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.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> 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.