#[non_exhaustive]pub struct Meta {
pub schema_version: u32,
pub generated_at: String,
pub counts: Counts,
pub manufacturers: Vec<String>,
pub endpoints: BTreeMap<String, String>,
pub docs: Option<String>,
pub license: Option<String>,
pub notes: Option<String>,
}Expand description
meta.json: when the data was built, and how much there is.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.schema_version: u32The schema version, SCHEMA_VERSION.
generated_at: StringWhen the files were built, ISO 8601 UTC (2026-10-01T07:07:29+00:00).
counts: CountsHow many motors, motors in stock and vendors the files hold.
manufacturers: Vec<String>The manufacturers’ names, as motors write them.
endpoints: BTreeMap<String, String>The endpoint index: each file’s name and its path on the site.
docs: Option<String>Where the API is documented.
license: Option<String>The terms, in the API’s words.
notes: Option<String>Notes on how the API is served.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
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 StructuralPartialEq for Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
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