pub struct BusinessIdentity {
pub name: Option<String>,
pub country: Option<String>,
pub languages: Vec<String>,
pub currency: Option<String>,
pub timezone: Option<String>,
}Expand description
Business identity and locale information.
Fields§
§name: Option<String>Business legal or display name.
country: Option<String>ISO 3166-1 alpha-2 country code (e.g. “US”, “KE”).
languages: Vec<String>Supported languages (BCP 47 tags, e.g. [“en”, “sw”]).
currency: Option<String>ISO 4217 currency code (e.g. “USD”, “KES”).
timezone: Option<String>IANA timezone (e.g. “Africa/Nairobi”, “America/New_York”).
Trait Implementations§
Source§impl Clone for BusinessIdentity
impl Clone for BusinessIdentity
Source§fn clone(&self) -> BusinessIdentity
fn clone(&self) -> BusinessIdentity
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 BusinessIdentity
impl Debug for BusinessIdentity
Source§impl<'de> Deserialize<'de> for BusinessIdentity
impl<'de> Deserialize<'de> for BusinessIdentity
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
Source§impl PartialEq for BusinessIdentity
impl PartialEq for BusinessIdentity
Source§fn eq(&self, other: &BusinessIdentity) -> bool
fn eq(&self, other: &BusinessIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BusinessIdentity
impl Serialize for BusinessIdentity
impl StructuralPartialEq for BusinessIdentity
Auto Trait Implementations§
impl Freeze for BusinessIdentity
impl RefUnwindSafe for BusinessIdentity
impl Send for BusinessIdentity
impl Sync for BusinessIdentity
impl Unpin for BusinessIdentity
impl UnsafeUnpin for BusinessIdentity
impl UnwindSafe for BusinessIdentity
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