pub struct MetaSchemaAsset {
pub id: &'static str,
pub relative_path: &'static str,
pub source_url: &'static str,
}Expand description
A vendored JSON Schema asset (SHA-256 in meta-schemas.lock.toml).
Fields§
§id: &'static strStable asset id in the lock file.
relative_path: &'static strPath relative to meta-schemas/.
source_url: &'static strUpstream raw URL.
Trait Implementations§
Source§impl Clone for MetaSchemaAsset
impl Clone for MetaSchemaAsset
Source§fn clone(&self) -> MetaSchemaAsset
fn clone(&self) -> MetaSchemaAsset
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 moreimpl Copy for MetaSchemaAsset
Source§impl Debug for MetaSchemaAsset
impl Debug for MetaSchemaAsset
impl Eq for MetaSchemaAsset
Source§impl PartialEq for MetaSchemaAsset
impl PartialEq for MetaSchemaAsset
Source§fn eq(&self, other: &MetaSchemaAsset) -> bool
fn eq(&self, other: &MetaSchemaAsset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetaSchemaAsset
Auto Trait Implementations§
impl Freeze for MetaSchemaAsset
impl RefUnwindSafe for MetaSchemaAsset
impl Send for MetaSchemaAsset
impl Sync for MetaSchemaAsset
impl Unpin for MetaSchemaAsset
impl UnsafeUnpin for MetaSchemaAsset
impl UnwindSafe for MetaSchemaAsset
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