pub struct PackagedRequestPolicySummary {
pub geocentric_only: bool,
pub supported_frames: &'static [CoordinateFrame],
pub supported_time_scales: &'static [TimeScale],
pub supported_zodiac_modes: &'static [ZodiacMode],
pub supported_apparentness: &'static [Apparentness],
pub supports_topocentric_observer: bool,
pub lookup_epoch_policy: PackagedLookupEpochPolicy,
}Expand description
Structured request-policy summary for the packaged-data backend.
Fields§
§geocentric_only: boolWhether the backend is geocentric only.
supported_frames: &'static [CoordinateFrame]Coordinate frames supported by the packaged backend.
supported_time_scales: &'static [TimeScale]Time scales supported by the packaged backend.
supported_zodiac_modes: &'static [ZodiacMode]Zodiac modes supported by the packaged backend.
supported_apparentness: &'static [Apparentness]Apparentness modes supported by the packaged backend.
supports_topocentric_observer: boolWhether the packaged backend accepts topocentric observer requests.
lookup_epoch_policy: PackagedLookupEpochPolicyPolicy describing how TDB-tagged lookups are handled.
Implementations§
Source§impl PackagedRequestPolicySummary
impl PackagedRequestPolicySummary
Sourcepub fn summary_line(&self) -> String
pub fn summary_line(&self) -> String
Renders the packaged request policy into a release-facing summary line.
Sourcepub fn validate(
&self,
) -> Result<(), PackagedRequestPolicySummaryValidationError>
pub fn validate( &self, ) -> Result<(), PackagedRequestPolicySummaryValidationError>
Returns Ok(()) when the packaged request-policy posture still matches the current backend metadata.
Trait Implementations§
Source§impl Clone for PackagedRequestPolicySummary
impl Clone for PackagedRequestPolicySummary
impl Copy for PackagedRequestPolicySummary
Source§impl Debug for PackagedRequestPolicySummary
impl Debug for PackagedRequestPolicySummary
impl StructuralPartialEq for PackagedRequestPolicySummary
Auto Trait Implementations§
impl Freeze for PackagedRequestPolicySummary
impl RefUnwindSafe for PackagedRequestPolicySummary
impl Send for PackagedRequestPolicySummary
impl Sync for PackagedRequestPolicySummary
impl Unpin for PackagedRequestPolicySummary
impl UnsafeUnpin for PackagedRequestPolicySummary
impl UnwindSafe for PackagedRequestPolicySummary
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