pub struct MicEntry {
pub mic: &'static str,
pub operating_mic: &'static str,
pub is_operating: bool,
pub name: &'static str,
pub country: &'static str,
pub city: &'static str,
pub status: MicStatus,
}Expand description
One entry of the ISO 10383 registry: a MIC and its descriptive metadata.
Every field is a &'static str into this crate’s read-only data segment,
so a MicEntry is Copy and costs nothing to pass or store.
Fields§
§mic: &'static strThe four-character Market Identifier Code.
operating_mic: &'static strThe operating MIC this code belongs to. For an operating MIC this
equals mic; for a segment MIC it names the parent.
is_operating: booltrue if this is an operating MIC (OPRT), false if a segment
MIC (SGMT).
name: &'static strMarket name or institution description.
country: &'static strISO 3166-1 alpha-2 country code of the venue, or "" if the registry
records none.
city: &'static strCity of the venue, or "" if the registry records none.
status: MicStatusRegistry lifecycle status.
Trait Implementations§
impl Copy for MicEntry
impl Eq for MicEntry
impl StructuralPartialEq for MicEntry
Auto Trait Implementations§
impl Freeze for MicEntry
impl RefUnwindSafe for MicEntry
impl Send for MicEntry
impl Sync for MicEntry
impl Unpin for MicEntry
impl UnsafeUnpin for MicEntry
impl UnwindSafe for MicEntry
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