pub struct CatalogCurve {
pub simfile_id: String,
pub format: CurveFormat,
pub source: CurveSource,
pub license: CurveLicense,
pub file: String,
pub sha256: String,
pub url: String,
pub info_url: Option<String>,
pub retrieved: String,
}Expand description
Where a thrust curve came from and under what terms.
Fields§
§simfile_id: StringThrustCurve’s simfile id.
format: CurveFormatThe file format.
source: CurveSourceWho produced the data.
license: CurveLicenseThe data license.
file: StringThe file’s path relative to the catalog index.
sha256: StringSHA-256 of the file’s bytes, hex.
url: StringWhere the file was downloaded from.
info_url: Option<String>ThrustCurve’s page for the file.
retrieved: StringThe download date, YYYY-MM-DD.
Trait Implementations§
Source§impl Clone for CatalogCurve
impl Clone for CatalogCurve
Source§fn clone(&self) -> CatalogCurve
fn clone(&self) -> CatalogCurve
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 CatalogCurve
impl Debug for CatalogCurve
Source§impl<'de> Deserialize<'de> for CatalogCurve
impl<'de> Deserialize<'de> for CatalogCurve
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
impl Eq for CatalogCurve
Source§impl PartialEq for CatalogCurve
impl PartialEq for CatalogCurve
Source§fn eq(&self, other: &CatalogCurve) -> bool
fn eq(&self, other: &CatalogCurve) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CatalogCurve
impl Serialize for CatalogCurve
impl StructuralPartialEq for CatalogCurve
Auto Trait Implementations§
impl Freeze for CatalogCurve
impl RefUnwindSafe for CatalogCurve
impl Send for CatalogCurve
impl Sync for CatalogCurve
impl Unpin for CatalogCurve
impl UnsafeUnpin for CatalogCurve
impl UnwindSafe for CatalogCurve
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