spacetraders-client 0.1.0

Async Rust client for the SpaceTraders API v2 with priority-aware rate limiting and retry
Documentation
// AUTO-GENERATED by `cargo run --example regenerate` — do not edit.
// Source: src/generated/display_impls.rs
impl ::std::fmt::Display for crate::types::AgentAccountId {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::AgentHeadquarters {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::AgentStartingFaction {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::AgentSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::ContractDeliverGoodDestinationSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::ContractDeliverGoodTradeSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::ContractFactionSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::ContractId {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::CooldownShipSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::ExtractionShipSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::FactionDescription {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::FactionHeadquarters {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::FactionName {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::InstallMountRequestSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::InstallShipModuleBodySymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::NavigateShipBodyWaypointSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::PublicAgentHeadquarters {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::PublicAgentStartingFaction {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::PublicAgentSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::RegisterBodySymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::RemoveMountRequestSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::RemoveShipModuleBodySymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::ScannedSystemSectorSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::ScannedSystemSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::ShipRegistrationFactionSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::ShipRegistrationName {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::ShipyardSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::SiphonShipSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::SurveySignature {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::SurveySymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::SystemSectorSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::SystemSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::SystemWaypointOrbits {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::WarpShipBodyWaypointSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::WaypointOrbitalSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::WaypointOrbits {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}
impl ::std::fmt::Display for crate::types::WaypointSymbol {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        ::std::fmt::Display::fmt(::std::ops::Deref::deref(self), f)
    }
}