pub struct ControlId(/* private fields */);Expand description
A string-based control identifier, enabling open extensibility.
Built-in controls use kebab-case IDs (e.g. “review-independence”). Platform-specific verifiers can register controls with their own IDs (e.g. “jira-linkage”, “bitbucket-pipeline-status”).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ControlId
impl<'de> Deserialize<'de> for ControlId
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 ControlId
impl StructuralPartialEq for ControlId
Auto Trait Implementations§
impl Freeze for ControlId
impl RefUnwindSafe for ControlId
impl Send for ControlId
impl Sync for ControlId
impl Unpin for ControlId
impl UnsafeUnpin for ControlId
impl UnwindSafe for ControlId
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