pub struct GovernmentAgency {
pub agency_id: Uuid,
pub name: String,
pub agency_type: GovernmentAgencyType,
pub country: String,
}Expand description
A government agency counterparty.
Fields§
§agency_id: UuidUnique agency identifier
name: StringAgency name
agency_type: GovernmentAgencyTypeAgency type
country: StringCountry (ISO 3166-1 alpha-2)
Implementations§
Trait Implementations§
Source§impl Clone for GovernmentAgency
impl Clone for GovernmentAgency
Source§fn clone(&self) -> GovernmentAgency
fn clone(&self) -> GovernmentAgency
Returns a duplicate of the value. Read more
1.0.0 · 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 GovernmentAgency
impl Debug for GovernmentAgency
Source§impl<'de> Deserialize<'de> for GovernmentAgency
impl<'de> Deserialize<'de> for GovernmentAgency
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
Auto Trait Implementations§
impl Freeze for GovernmentAgency
impl RefUnwindSafe for GovernmentAgency
impl Send for GovernmentAgency
impl Sync for GovernmentAgency
impl Unpin for GovernmentAgency
impl UnwindSafe for GovernmentAgency
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