pub struct AcceptListEntry {
pub status: PredicateStatus,
pub object_kind: Vec<ObjectKind>,
pub object_schema: Option<String>,
pub task_context_required: bool,
pub minimum_issuer_scope: Option<IssuerScope>,
pub additional_members: BTreeMap<String, AdditionalMember>,
pub superseded_by: Option<String>,
}Expand description
One predicate’s entry in the registry’s accept-list: its status and machine-checkable constraints.
§Unknown members are refused
Deliberately. A registry that adds a constraint this library does not know would otherwise have it silently ignored, and a verifier would accept statements the registry says it must not. Refusing the document makes that a configuration error rather than a fail-open.
Fields§
§status: PredicateStatus§object_kind: Vec<ObjectKind>§object_schema: Option<String>§task_context_required: bool§minimum_issuer_scope: Option<IssuerScope>§additional_members: BTreeMap<String, AdditionalMember>§superseded_by: Option<String>Trait Implementations§
Source§impl Clone for AcceptListEntry
impl Clone for AcceptListEntry
Source§impl Debug for AcceptListEntry
impl Debug for AcceptListEntry
Source§impl<'de> Deserialize<'de> for AcceptListEntry
impl<'de> Deserialize<'de> for AcceptListEntry
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 AcceptListEntry
Source§impl PartialEq for AcceptListEntry
impl PartialEq for AcceptListEntry
Source§impl Serialize for AcceptListEntry
impl Serialize for AcceptListEntry
impl StructuralPartialEq for AcceptListEntry
Auto Trait Implementations§
impl Freeze for AcceptListEntry
impl RefUnwindSafe for AcceptListEntry
impl Send for AcceptListEntry
impl Sync for AcceptListEntry
impl Unpin for AcceptListEntry
impl UnsafeUnpin for AcceptListEntry
impl UnwindSafe for AcceptListEntry
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