pub struct RegistryAcceptList {
pub schema: String,
pub namespace: String,
pub commit: String,
pub generated_at: String,
pub predicates: BTreeMap<String, AcceptListEntry>,
}Expand description
The registry’s accept-list.json, per its meta/accept-list.schema.json.
Unknown members of the envelope are ignored, so build metadata the registry adds or
drops (it dropped revision when it stopped tagging releases) never breaks loading.
Entries stay strict: an unknown member there could be a constraint this version does
not know how to apply, and failing closed is the only safe reading of it.
Fields§
§schema: String§namespace: String§commit: StringThe registry commit the list was built from. Pin this, or the list’s digest.
generated_at: String§predicates: BTreeMap<String, AcceptListEntry>Every published predicate version, keyed by IRI.
Trait Implementations§
Source§impl Clone for RegistryAcceptList
impl Clone for RegistryAcceptList
Source§impl Debug for RegistryAcceptList
impl Debug for RegistryAcceptList
Source§impl<'de> Deserialize<'de> for RegistryAcceptList
impl<'de> Deserialize<'de> for RegistryAcceptList
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 RegistryAcceptList
Source§impl PartialEq for RegistryAcceptList
impl PartialEq for RegistryAcceptList
Source§impl Serialize for RegistryAcceptList
impl Serialize for RegistryAcceptList
impl StructuralPartialEq for RegistryAcceptList
Auto Trait Implementations§
impl Freeze for RegistryAcceptList
impl RefUnwindSafe for RegistryAcceptList
impl Send for RegistryAcceptList
impl Sync for RegistryAcceptList
impl Unpin for RegistryAcceptList
impl UnsafeUnpin for RegistryAcceptList
impl UnwindSafe for RegistryAcceptList
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