pub struct RegulatedFinancialInstitution {
pub name: String,
pub lei: Option<String>,
pub licence_id: Option<String>,
pub regulator: Option<String>,
pub url: Option<String>,
}Expand description
A regulated financial institution. Schema.org base type:
BankOrCreditUnion.
Fields§
§name: StringDisplay name of the institution.
lei: Option<String>Optional Legal Entity Identifier (ISO 17442).
licence_id: Option<String>Regulator’s licence reference (e.g. UK FCA FRN).
regulator: Option<String>Regulator name (e.g. “FCA”, “BaFin”, “ECB”).
url: Option<String>Optional canonical URL.
Implementations§
Source§impl RegulatedFinancialInstitution
impl RegulatedFinancialInstitution
Sourcepub fn to_jsonld(&self) -> Value
pub fn to_jsonld(&self) -> Value
Builds the JSON-LD blob for this institution.
§Examples
use ssg::seo::jsonld::iso20022::RegulatedFinancialInstitution;
let r = RegulatedFinancialInstitution {
name: "Acme Bank".into(),
..RegulatedFinancialInstitution::default()
};
let v = r.to_jsonld();
assert_eq!(v["@type"], "BankOrCreditUnion");
assert_eq!(v["name"], "Acme Bank");Trait Implementations§
Source§impl Clone for RegulatedFinancialInstitution
impl Clone for RegulatedFinancialInstitution
Source§fn clone(&self) -> RegulatedFinancialInstitution
fn clone(&self) -> RegulatedFinancialInstitution
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 Default for RegulatedFinancialInstitution
impl Default for RegulatedFinancialInstitution
Source§fn default() -> RegulatedFinancialInstitution
fn default() -> RegulatedFinancialInstitution
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegulatedFinancialInstitution
impl<'de> Deserialize<'de> for RegulatedFinancialInstitution
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 RegulatedFinancialInstitution
Source§impl PartialEq for RegulatedFinancialInstitution
impl PartialEq for RegulatedFinancialInstitution
Source§fn eq(&self, other: &RegulatedFinancialInstitution) -> bool
fn eq(&self, other: &RegulatedFinancialInstitution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegulatedFinancialInstitution
Auto Trait Implementations§
impl Freeze for RegulatedFinancialInstitution
impl RefUnwindSafe for RegulatedFinancialInstitution
impl Send for RegulatedFinancialInstitution
impl Sync for RegulatedFinancialInstitution
impl Unpin for RegulatedFinancialInstitution
impl UnsafeUnpin for RegulatedFinancialInstitution
impl UnwindSafe for RegulatedFinancialInstitution
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Converts
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>
Converts
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